summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_draw_upload.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-12-21 16:57:37 +0000
committerKeith Whitwell <[email protected]>2009-12-21 16:57:37 +0000
commit061411b2611634960f0ba36e42916c67918bb53d (patch)
tree456176c5be87b1d3352231b9c8c6d9839e8339c8 /src/gallium/drivers/i965/brw_draw_upload.c
parent1ec7e058f50882b27c0a2abd961bd49848386ff7 (diff)
i965g: hook vertex state emit up to PIPE_NEW_VERTEX_BUFFER
Diffstat (limited to 'src/gallium/drivers/i965/brw_draw_upload.c')
-rw-r--r--src/gallium/drivers/i965/brw_draw_upload.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_draw_upload.c b/src/gallium/drivers/i965/brw_draw_upload.c
index f50ce3005da..a27da5f1c17 100644
--- a/src/gallium/drivers/i965/brw_draw_upload.c
+++ b/src/gallium/drivers/i965/brw_draw_upload.c
@@ -405,8 +405,9 @@ static int brw_emit_vertices( struct brw_context *brw )
const struct brw_tracked_state brw_vertices = {
.dirty = {
- .mesa = PIPE_NEW_INDEX_RANGE,
- .brw = BRW_NEW_BATCH | BRW_NEW_VERTICES,
+ .mesa = (PIPE_NEW_INDEX_RANGE |
+ PIPE_NEW_VERTEX_BUFFER),
+ .brw = BRW_NEW_BATCH,
.cache = 0,
},
.prepare = brw_prepare_vertices,