aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-02-14 06:45:55 +0100
committerMarek Olšák <[email protected]>2011-02-14 07:45:14 +0100
commit5a6ba08c21f24b14458a2084a170ddfbe8f5d793 (patch)
treefc13659a370e3e5298dcaa6daa97de3571548437 /src/gallium/drivers/r300/r300_context.h
parent004dd015839dfb77b9d66fb2df6514feefb87d9e (diff)
r300g: emit 3D_LOAD_VBPNTR only when necessary
I thought I couldn't skip emitting this packet in some cases. Well it looks like I can.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 9335c680bf6..6e940b46fa4 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -589,9 +589,10 @@ struct r300_context {
/* const tracking for VS */
int vs_const_base;
- /* AOS (PACKET3_3D_LOAD_VBPNTR) command buffer for the case offset=0. */
- uint32_t vertex_arrays_cb[(16 * 3 + 1) / 2];
+ /* Vertex array state info */
boolean vertex_arrays_dirty;
+ boolean vertex_arrays_indexed;
+ int vertex_arrays_offset;
/* Whether any buffer (FB, textures, VBOs) has been set, but buffers
* haven't been validated yet. */