Mesa (master): r600g: Fixed the shift in S_02880C_KILL_ENABLE.
Tilman Sauerbeck
tilman at kemper.freedesktop.org
Fri Sep 17 12:09:15 UTC 2010
Module: Mesa
Branch: master
Commit: d80bed15660e784a405c467be1ded8266d8ffc48
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d80bed15660e784a405c467be1ded8266d8ffc48
Author: Tilman Sauerbeck <tilman at code-monkey.de>
Date: Fri Sep 17 14:08:23 2010 +0200
r600g: Fixed the shift in S_02880C_KILL_ENABLE.
Signed-off-by: Tilman Sauerbeck <tilman at code-monkey.de>
---
src/gallium/drivers/r600/evergreend.h | 2 +-
src/gallium/drivers/r600/r600d.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h
index a3ebc0e..77cd8f1 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 92ed0a7..cd8acd2 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)
More information about the mesa-commit
mailing list