diff options
author | Tilman Sauerbeck <[email protected]> | 2010-09-17 14:08:23 +0200 |
---|---|---|
committer | Tilman Sauerbeck <[email protected]> | 2010-09-17 14:08:54 +0200 |
commit | d80bed15660e784a405c467be1ded8266d8ffc48 (patch) | |
tree | f2278bbccaaa29542c5d2cb16ce40a32a8f472f3 | |
parent | 54d688f1484292278535c8ea20bde4a5e8075c7f (diff) |
r600g: Fixed the shift in S_02880C_KILL_ENABLE.
Signed-off-by: Tilman Sauerbeck <[email protected]>
-rw-r--r-- | src/gallium/drivers/r600/evergreend.h | 2 | ||||
-rw-r--r-- | 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 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) |