<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - XCOM: Enemy Unknown Causes lockup"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80419#c91">Comment # 91</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - XCOM: Enemy Unknown Causes lockup"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80419">bug 80419</a>
from <span class="vcard"><a class="email" href="mailto:dex+fdobugzilla@dragonslave.de" title="Daniel Exner <dex+fdobugzilla@dragonslave.de>"> <span class="fn">Daniel Exner</span></a>
</span></b>
<pre>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]
<a href="https://www.opengl.org/sdk/docs/man/html/glDrawRangeElementsBaseVertex.xhtml">https://www.opengl.org/sdk/docs/man/html/glDrawRangeElementsBaseVertex.xhtml</a>
[2] <a href="https://www.opengl.org/sdk/docs/man/html/glDrawElementsBaseVertex.xhtml">https://www.opengl.org/sdk/docs/man/html/glDrawElementsBaseVertex.xhtml</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>