summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-12-03 15:06:08 -0800
committerEric Anholt <[email protected]>2010-02-25 10:53:06 -0800
commiteda1b50aa10031aeb07071f59fed93304b2fe2ca (patch)
tree1bdaf686edfb5608fd82b6badeb1a06566c8ca17
parent98f9666f04eed9ae873fdea20c4c4b9db6cead84 (diff)
i965: Try turning on the VS.
-rw-r--r--src/mesa/drivers/dri/i965/gen6_vs_state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_vs_state.c b/src/mesa/drivers/dri/i965/gen6_vs_state.c
index d82319afa7e..098a1d0b57b 100644
--- a/src/mesa/drivers/dri/i965/gen6_vs_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_vs_state.c
@@ -46,7 +46,8 @@ upload_vs_state(struct brw_context *brw)
OUT_BATCH(0); /* scratch space base offset */
OUT_BATCH((1 << GEN6_VS_DISPATCH_START_GRF_SHIFT) |
(brw->vs.prog_data->urb_read_length << GEN6_VS_URB_READ_LENGTH_SHIFT) |
- (0 << GEN6_VS_URB_ENTRY_READ_OFFSET_SHIFT));
+ (0 << GEN6_VS_URB_ENTRY_READ_OFFSET_SHIFT) |
+ GEN6_VS_ENABLE);
OUT_BATCH((0 << GEN6_VS_MAX_THREADS_SHIFT) |
GEN6_VS_STATISTICS_ENABLE);
ADVANCE_BATCH();