summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/evergreend.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-10-13 18:50:37 +1000
committerDave Airlie <airlied@redhat.com>2010-10-13 18:50:37 +1000
commitff4b397517a374ac3d4bf437f85ae6a96171a714 (patch)
treeaa4c71f84d91dc383ba88a10e0c9e65c81d75d11 /src/gallium/drivers/r600/evergreend.h
parent40cc5bfcd70e412289dbb32a1ebca91bf109e1bd (diff)
r600g: fix stencil export for evergreen harder
Diffstat (limited to 'src/gallium/drivers/r600/evergreend.h')
-rw-r--r--src/gallium/drivers/r600/evergreend.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h
index 94661fdd1f..5d07f532f0 100644
--- a/src/gallium/drivers/r600/evergreend.h
+++ b/src/gallium/drivers/r600/evergreend.h
@@ -686,8 +686,8 @@
#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_EXPORT_ENABLE(x) (((x) & 0x2) << 0)
-#define G_02880C_STENCIL_EXPORT_ENABLE(x) (((x) >> 0) & 0x2)
+#define S_02880C_STENCIL_EXPORT_ENABLE(x) (((x) & 0x1) << 1)
+#define G_02880C_STENCIL_EXPORT_ENABLE(x) (((x) >> 1) & 0x1)
#define C_02880C_STENCIL_EXPORT_ENABLE 0xFFFFFFFD
#define S_02880C_Z_ORDER(x) (((x) & 0x3) << 4)
#define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x3)