radeonsi: fix truncated register define.
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Sep 2012 13:34:59 +0000 (09:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Sep 2012 14:07:46 +0000 (10:07 -0400)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/sid.h

index d26e1946db811e8eeddf90016d5cc6e34de4bd74..bc5fcdac0ac4f3d21c4d344d1f65557467717bc7 100644 (file)
 #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