Module: Mesa Branch: master Commit: d80bed15660e784a405c467be1ded8266d8ffc48 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d80bed15660e784a405c467be1ded8266d8ffc48
Author: Tilman Sauerbeck <[email protected]> Date: Fri Sep 17 14:08:23 2010 +0200 r600g: Fixed the shift in S_02880C_KILL_ENABLE. Signed-off-by: Tilman Sauerbeck <[email protected]> --- 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) _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
