diff options
author | Michel Dänzer <[email protected]> | 2013-03-12 12:34:37 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2013-03-12 18:25:54 +0100 |
commit | 4dca602521c51a4cb03855bda9c22b5ccc4829c7 (patch) | |
tree | 03c37af616896e64b46f924ef3debf248b701f84 /common.py | |
parent | 8aa8b0539eda00b9bafacb69774b26975db66ae4 (diff) |
radeonsi: Fix off-by-one for maximum vertex element index in some cases
In cases where the vertex element size is smaller than the vertex buffer
stride, the previous calculation could end up 1 too low. This would result
in the GPU using index 0 instead of the maximum index for those elements,
which would be visible as intermittent distorted triangles.
NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions