Mesa (master): gen6 fix: fix a wrong bit in binding_table_pointer

Nan hai Zou znh at kemper.freedesktop.org
Tue May 18 08:08:09 UTC 2010


Module: Mesa
Branch: master
Commit: 0f88ce1b0a98c7cacaa0dc53bbbb1f3c379aaa6a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f88ce1b0a98c7cacaa0dc53bbbb1f3c379aaa6a

Author: Zou Nan hai <nanhai.zou at intel.com>
Date:   Tue May 18 16:07:03 2010 +0800

 gen6 fix: fix a wrong bit in binding_table_pointer

---

 src/mesa/drivers/dri/i965/brw_defines.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h
index f26a13f..2d3556b 100644
--- a/src/mesa/drivers/dri/i965/brw_defines.h
+++ b/src/mesa/drivers/dri/i965/brw_defines.h
@@ -783,7 +783,7 @@
 #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)




More information about the mesa-commit mailing list