summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-07-20 11:46:43 -0600
committerBrian Paul <brianp@vmware.com>2010-07-20 11:53:43 -0600
commit691c1fb074144395aa441b3102923d8f92136c37 (patch)
treec62e98176c14aafdf1fd2b301cd7048cbc7d875d /src/mesa/main
parente794fac35a9639d87a4ebd785e1e6b84490090ef (diff)
draw: correctly handle max_index=0xffffffff case in vcache code
If max_index=0xffffffff and elt_bias > 0 the test for elt_bias + max_index >= DRAW_PIPE_MAX_VERTICES was wrong. Check earlier if max_index=0xffffffff and do the "fail" case. This fixes the piglit draw-elements-base-vertex test (and probably some other things).
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions