[Bug 80419] XCOM: Enemy Unknown Causes lockup

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 23 05:37:26 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=80419

--- Comment #91 from Daniel Exner <dex+fdobugzilla at dragonslave.de> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151223/5792daca/attachment.html>


More information about the dri-devel mailing list