summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-08-03 16:32:32 -0600
committerBrian Paul <brianp@vmware.com>2010-08-03 16:37:58 -0600
commit48268e0f2a5e65b63586398db3a58523a8c7a7a0 (patch)
tree87564434f43f2ab63c8e25821eb1d4de5168d5dd /src/gallium/drivers/r300/r300_screen.c
parente89e47e6d03f0c8b421268481d077100c2247253 (diff)
draw: check for instance divisors in vcache_check_run()
When we have instance divisors we don't really know which vertex elements we'll be fetching ahead of time. This fixes a bug in instanced drawing which was exposed by the new draw_vbo() code because of max_index not being ~0 as often as it used to be. The test for max_index >= DRAW_PIPE_MAX_VERTICES often hid this problem before.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
0 files changed, 0 insertions, 0 deletions