Mesa (master): radeonsi: fix truncated register define.

Alex Deucher agd5f at kemper.freedesktop.org
Wed Sep 26 14:10:56 UTC 2012


Module: Mesa
Branch: master
Commit: 0aa47b2d8b83bbed9d774d58558058a35faa8795
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0aa47b2d8b83bbed9d774d58558058a35faa8795

Author: Alex Deucher <alexander.deucher at amd.com>
Date:   Wed Sep 26 09:34:59 2012 -0400

radeonsi: fix truncated register define.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

---

 src/gallium/drivers/radeonsi/sid.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/sid.h b/src/gallium/drivers/radeonsi/sid.h
index d26e194..bc5fcda 100644
--- a/src/gallium/drivers/radeonsi/sid.h
+++ b/src/gallium/drivers/radeonsi/sid.h
@@ -5775,9 +5775,9 @@
 #define   S_02880C_Z_EXPORT_ENABLE(x)                                 (((x) & 0x1) << 0)
 #define   G_02880C_Z_EXPORT_ENABLE(x)                                 (((x) >> 0) & 0x1)
 #define   C_02880C_Z_EXPORT_ENABLE                                    0xFFFFFFFE
-#define   S_02880C_STENCIL_TEST_VAL_EXPORT_ENAB(x)                    (((x) & 0x1) << 1)
-#define   G_02880C_STENCIL_TEST_VAL_EXPORT_ENAB(x)                    (((x) >> 1) & 0x1)
-#define   C_02880C_STENCIL_TEST_VAL_EXPORT_ENAB                       0xFFFFFFFD
+#define   S_02880C_STENCIL_TEST_VAL_EXPORT_ENABLE(x)                  (((x) & 0x1) << 1)
+#define   G_02880C_STENCIL_TEST_VAL_EXPORT_ENABLE(x)                  (((x) >> 1) & 0x1)
+#define   C_02880C_STENCIL_TEST_VAL_EXPORT_ENABLE                     0xFFFFFFFD
 #define   S_02880C_STENCIL_OP_VAL_EXPORT_ENABLE(x)                    (((x) & 0x1) << 2)
 #define   G_02880C_STENCIL_OP_VAL_EXPORT_ENABLE(x)                    (((x) >> 2) & 0x1)
 #define   C_02880C_STENCIL_OP_VAL_EXPORT_ENABLE                       0xFFFFFFFB




More information about the mesa-commit mailing list