i965: Re-disable the VS.
authorEric Anholt <eric@anholt.net>
Mon, 25 Jan 2010 22:48:06 +0000 (14:48 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 25 Feb 2010 18:53:08 +0000 (10:53 -0800)
There's stuff that needs to happen in the ISA before we can play with
actually executing anything in the VS.

src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/gen6_vs_state.c

index be32a8fa828141ee57634e417eb67a95e846af48..50c4d6d0a469f0dd7f6a28070f869f9a47bddcde 100644 (file)
 # define GEN6_VE0_INDEX_SHIFT          26
 # define BRW_VE0_FORMAT_SHIFT          16
 # define BRW_VE0_VALID                 (1 << 26)
-# define GEN6_VE0_VALID                        (1 << 25)
+# define GEN6_VE0_VALID                        (0 << 25)
 # define BRW_VE0_SRC_OFFSET_SHIFT      0
 # define BRW_VE1_COMPONENT_NOSTORE     0
 # define BRW_VE1_COMPONENT_STORE_SRC   1
index 0299dc6768c12f0d3d2073ec84360fe557ec9cd9..ba00e4e1fb6e00dc0a0566320500b97cab768469 100644 (file)
@@ -56,8 +56,7 @@ upload_vs_state(struct brw_context *brw)
             (brw->vs.prog_data->urb_read_length << GEN6_VS_URB_READ_LENGTH_SHIFT) |
             (0 << GEN6_VS_URB_ENTRY_READ_OFFSET_SHIFT));
    OUT_BATCH((0 << GEN6_VS_MAX_THREADS_SHIFT) |
-            GEN6_VS_STATISTICS_ENABLE|
-            GEN6_VS_ENABLE);
+            GEN6_VS_STATISTICS_ENABLE);
    ADVANCE_BATCH();
 
    intel_batchbuffer_emit_mi_flush(intel->batch);