Mesa (master): i965: Fix the SNB VE valid bit.

Eric Anholt anholt at kemper.freedesktop.org
Fri Feb 26 02:43:44 UTC 2010


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

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Feb 25 15:22:20 2010 -0800

i965: Fix the SNB VE valid bit.

So, when the docs say that 0 means enabled now?  That's a lie.

---

 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 76ae17c..bb1b5f5 100644
--- a/src/mesa/drivers/dri/i965/brw_defines.h
+++ b/src/mesa/drivers/dri/i965/brw_defines.h
@@ -806,7 +806,7 @@
 # define GEN6_VE0_INDEX_SHIFT		26
 # define BRW_VE0_FORMAT_SHIFT		16
 # define BRW_VE0_VALID			(1 << 26)
-# define GEN6_VE0_VALID			(0 << 25)
+# define GEN6_VE0_VALID			(1 << 25)
 # define BRW_VE0_SRC_OFFSET_SHIFT	0
 # define BRW_VE1_COMPONENT_NOSTORE	0
 # define BRW_VE1_COMPONENT_STORE_SRC	1




More information about the mesa-commit mailing list