gen6 fix: fix a wrong bit in binding_table_pointer
authorZou Nan hai <nanhai.zou@intel.com>
Tue, 18 May 2010 08:07:03 +0000 (16:07 +0800)
committerZou Nan hai <nanhai.zou@intel.com>
Tue, 18 May 2010 08:07:03 +0000 (16:07 +0800)
src/mesa/drivers/dri/i965/brw_defines.h

index f26a13fc3c37aaaf19c21a2f23a35411b4f9851d..2d3556b80546cf4ae857840cd5ed0860c2edc4ba 100644 (file)
 #define CMD_BINDING_TABLE_PTRS        0x7801
 # define GEN6_BINDING_TABLE_MODIFY_VS  (1 << 8)
 # define GEN6_BINDING_TABLE_MODIFY_GS  (1 << 9)
-# define GEN6_BINDING_TABLE_MODIFY_PS  (1 << 10)
+# define GEN6_BINDING_TABLE_MODIFY_PS  (1 << 12)
 
 #define CMD_3D_SAMPLER_STATE_POINTERS                  0x7802 /* SNB+ */
 # define PS_SAMPLER_STATE_CHANGE                               (1 << 12)