[Bug 80419] XCOM: Enemy Unknown Causes lockup
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 5 14:43:23 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=80419
--- Comment #113 from Nicolai Hähnle <nhaehnle at gmail.com> ---
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)
--
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/20160205/4055c82a/attachment-0001.html>
More information about the dri-devel
mailing list