From: Tilman Sauerbeck Date: Fri, 17 Sep 2010 12:08:23 +0000 (+0200) Subject: r600g: Fixed the shift in S_02880C_KILL_ENABLE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d80bed15660e784a405c467be1ded8266d8ffc48;p=mesa.git r600g: Fixed the shift in S_02880C_KILL_ENABLE. Signed-off-by: Tilman Sauerbeck --- 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)