diff options
author | George Kyriazis <[email protected]> | 2018-02-28 13:16:16 -0600 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-03-20 16:57:24 +0000 |
commit | 3a9454f9d4a8d01edbfb16307e6cbcc85dd0ebaf (patch) | |
tree | a7cf3427d839ac81edb0eaae8727b68f641524ad /include/GLES3 | |
parent | 682a859dbe535daa9b11b7836ab33536523a51f6 (diff) |
swr/rast: Fix index buffer overfetch issue for non-indexed draws
Populate pLastIndex, even for the non-indexed case. An zero pLastIndex
can cause the index offsets inside the fetcher to have non-sensical values
that can be either very large positive or very large negative numbers.
cc: "18.0" <[email protected]>
Reviewed-by: Bruce Cherniak <[email protected]>
(cherry picked from commit 539de78633c45598e0b1e3b7763ea318f9200c32)
[George Kyriazis: patch is a backport for 18.0 of the cherry-pick above]
Diffstat (limited to 'include/GLES3')
0 files changed, 0 insertions, 0 deletions