diff options
author | Zack Rusin <[email protected]> | 2013-06-13 13:34:57 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-06-17 11:06:39 -0400 |
commit | 7807763dd84ae381e208f74a0f4b7476b70ffbe8 (patch) | |
tree | 5dccb46fa03dd492cd99a63ba8ebd134dd607217 /src/glsl/loop_analysis.cpp | |
parent | 41966fdb3b71c0b70aeb095e0eb3c5626c144a3a (diff) |
draw: fix a regression in computing max elt
gl can use elts without setting indices, in which case
our eltMax was set to 0 and always invoking the overflow
condition. So by default set eltMax to maximum, it will
be curbed by draw_set_indexes (if it ever comes) and if
not then it will let gl's glVertexPointer/glDrawArrays
work correctly. Fixes piglit's
triangle-rasterization-overdraw test.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glsl/loop_analysis.cpp')
0 files changed, 0 insertions, 0 deletions