summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorTilman Sauerbeck <[email protected]>2010-09-17 14:08:23 +0200
committerTilman Sauerbeck <[email protected]>2010-09-17 14:08:54 +0200
commitd80bed15660e784a405c467be1ded8266d8ffc48 (patch)
treef2278bbccaaa29542c5d2cb16ce40a32a8f472f3 /src/gallium/drivers
parent54d688f1484292278535c8ea20bde4a5e8075c7f (diff)
r600g: Fixed the shift in S_02880C_KILL_ENABLE.
Signed-off-by: Tilman Sauerbeck <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/evergreend.h2
-rw-r--r--src/gallium/drivers/r600/r600d.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h
index a3ebc0e9e7c..77cd8f1588b 100644
--- a/src/gallium/drivers/r600/evergreend.h
+++ b/src/gallium/drivers/r600/evergreend.h
@@ -723,7 +723,7 @@
#define V_02880C_EARLY_Z_THEN_LATE_Z 1
#define V_02880C_RE_Z 2
#define V_02880C_EARLY_Z_THEN_RE_Z 3
-#define S_02880C_KILL_ENABLE(x) (((x) & 0x1) << 5)
+#define S_02880C_KILL_ENABLE(x) (((x) & 0x1) << 6)
#define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1)
#define C_02880C_KILL_ENABLE 0xFFFFFFBF
#define S_02880C_DUAL_EXPORT_ENABLE(x) (((x) & 0x1) << 9)
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h
index 92ed0a7ba3c..cd8acd20687 100644
--- a/src/gallium/drivers/r600/r600d.h
+++ b/src/gallium/drivers/r600/r600d.h
@@ -650,7 +650,7 @@
#define V_02880C_EARLY_Z_THEN_LATE_Z 1
#define V_02880C_RE_Z 2
#define V_02880C_EARLY_Z_THEN_RE_Z 3
-#define S_02880C_KILL_ENABLE(x) (((x) & 0x1) << 5)
+#define S_02880C_KILL_ENABLE(x) (((x) & 0x1) << 6)
#define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1)
#define C_02880C_KILL_ENABLE 0xFFFFFFBF
#define S_02880C_DUAL_EXPORT_ENABLE(x) (((x) & 0x1) << 9)