<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#c113">Comment # 113</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:nhaehnle@gmail.com" title="Nicolai Hähnle <nhaehnle@gmail.com>"> <span class="fn">Nicolai Hähnle</span></a>
</span></b>
        <pre>Perhaps it does, and that would be bad, but the particular apitrace crash was
basically the following:

1) XCOM uses DrawRangeElements with an unnecessarily large range.
2) During tracing, apitrace scans the index/elements array to determine the
range of vertices that is really being used.
3) Apitrace only stores this range of vertices.
4) During playback, apitrace would send the same range via DrawRangeElements,
but provide vertex data only for the range that was determined to be really
used.
5) The driver, on the other hand, relies on the entire range to be there and
tries to upload it to the card. This is where the crash happened (and it also
explains what I said before about XCOM being slightly inefficient here)</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>