summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_screen_buffer.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-12-07 06:24:06 +0100
committerMarek Olšák <maraeo@gmail.com>2010-12-07 06:42:05 +0100
commit78068a5fbfc21fb52b289a81142b4211628f845c (patch)
tree240905149e7ff6410b663153629b6c6971367ca9 /src/gallium/drivers/r300/r300_screen_buffer.c
parent857d107bfe1d8c98e614f93da06588639576d3fe (diff)
r300g: cache packet dwords of 3D_LOAD_VBPNTR in a command buffer if possible
It's not always possible to preprocess the content of 3D_LOAD_VBPNTR in a command buffer, because the offset to all vertex buffers (which the packet depends on) is derived from the "start" parameter of draw_arrays and the "indexBias" parameter of draw_elements, but we can at least lazily make a command buffer for the case when offset == 0, which should occur most of the time.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.c')
0 files changed, 0 insertions, 0 deletions