From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 80419] XCOM: Enemy Unknown Causes lockup Date: Wed, 23 Dec 2015 13:37:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1401362800==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C1990720B1 for ; Wed, 23 Dec 2015 05:37:26 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1401362800== Content-Type: multipart/alternative; boundary="1450877846.5B44AAAd2.19721"; charset="UTF-8" --1450877846.5B44AAAd2.19721 Date: Wed, 23 Dec 2015 13:37:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=80419 --- Comment #91 from Daniel Exner --- Sorry for pasting instead of an attachement. The specs for glDrawRangeElementsBaseVertex [1] say this case (array out of bounds) should be handled like this: "Index values lying outside the range [start, end] are treated in the same way as glDrawElementsBaseVertex. " The specs for glDrawElementsBaseVertex [2] don't say anything about this case (obviously since this function doesn't imply any size constrains for the array). So it seems like it is indeed a Bug in the game to try to address this index element but also the operation should not crash and its unspecified behaviour. Perhaps radeonsi should handle it the same as other mesa drivers to for the sake of cosistency. [1] https://www.opengl.org/sdk/docs/man/html/glDrawRangeElementsBaseVertex.xhtml [2] https://www.opengl.org/sdk/docs/man/html/glDrawElementsBaseVertex.xhtml -- You are receiving this mail because: You are the assignee for the bug. --1450877846.5B44AAAd2.19721 Date: Wed, 23 Dec 2015 13:37:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 91 on bug 80419 from
Sorry for pasting instead of an attachement.

The specs for glDrawRangeElementsBaseVertex [1] say this case (array out of
bounds) should be handled like this:

"Index values lying outside the range [start, end] are treated in the same way
as glDrawElementsBaseVertex. "

The specs for glDrawElementsBaseVertex [2] don't say anything about this case
(obviously since this function doesn't imply any size constrains for the
array).

So it seems like it is indeed a Bug in the game to try to address this index
element but also the operation should not crash and its unspecified behaviour.

Perhaps radeonsi should handle it the same as other mesa drivers to for the
sake of cosistency.

[1]
https://www.opengl.org/sdk/docs/man/html/glDrawRangeElementsBaseVertex.xhtml
[2] https://www.opengl.org/sdk/docs/man/html/glDrawElementsBaseVertex.xhtml


You are receiving this mail because:
  • You are the assignee for the bug.
--1450877846.5B44AAAd2.19721-- --===============1401362800== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1401362800==--