i965: Try turning on the VS.
authorEric Anholt <eric@anholt.net>
Thu, 3 Dec 2009 23:06:08 +0000 (15:06 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 25 Feb 2010 18:53:06 +0000 (10:53 -0800)
src/mesa/drivers/dri/i965/gen6_vs_state.c

index d82319afa7e27cd3039f5b119a61573bc8589db5..098a1d0b57ba6b9d6598fa2ae4bcfb46b8330b6b 100644 (file)
@@ -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();