summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-02-25 15:22:20 -0800
committerEric Anholt <[email protected]>2010-02-25 18:36:44 -0800
commitd790564f9452d6fa0378346a85c792aa346c1a57 (patch)
tree9d24f04ea87d867b0acf6c524feecfd34a7b64f7
parentfc26f894babc47dd3a823bd4d63ee4d8ee0dad04 (diff)
i965: Fix the SNB VE valid bit.
So, when the docs say that 0 means enabled now? That's a lie.
-rw-r--r--src/mesa/drivers/dri/i965/brw_defines.h2
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 76ae17c96a4..bb1b5f5ef03 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