<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#c115">Comment # 115</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:jfonseca@vmware.com" title="Jose Fonseca <jfonseca@vmware.com>"> <span class="fn">Jose Fonseca</span></a>
</span></b>
        <pre>I think there are multiple issues being conflated here.


Yes, apitrace had some bugs, and they might have cause additional grief to Mesa
drivers when replaying traces from XCOM.



But if the question is "does XCOM have a bug?", then the answer is IMO a
definite "yes".


As explained in
<a href="https://github.com/apitrace/apitrace/issues/407#issuecomment-166619366">https://github.com/apitrace/apitrace/issues/407#issuecomment-166619366</a> the game
is passing indices outside start..end range, which is illegal per
<a href="https://www.opengl.org/sdk/docs/man/html/glDrawRangeElementsBaseVertex.xhtml">https://www.opengl.org/sdk/docs/man/html/glDrawRangeElementsBaseVertex.xhtml</a>
"all values in the array indices must lie between start and end, inclusive,
prior to adding basevertex".




So if the XCOM developers are looking at this bug report, then please fix this
issue.  Even if it's not the all story here, it is a bug on its own right,
which can and will cause rendering issues depending on the OpenGL driver
implementation.</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>