summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-09-24 16:09:05 -0400
committerJerome Glisse <jglisse@redhat.com>2010-09-24 16:09:05 -0400
commit49111213e483e4f7830f77f53fc4331a57a296e3 (patch)
tree30bc9a052f65920d560c6289284ec422b8862d1f /src/gallium/drivers
parentba7e6ccc95a4e39cd15ca03573b2f6d6f8c9f539 (diff)
r600g: fix reg definition
Doesn't bother fixing old path code, just disable that reg. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/evergreend.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h
index 2359c78383..0a0a91eea2 100644
--- a/src/gallium/drivers/r600/evergreend.h
+++ b/src/gallium/drivers/r600/evergreend.h
@@ -1410,7 +1410,9 @@
#define R_028000_DB_RENDER_CONTROL 0x00028000
#define S_028000_STENCIL_COMPRESS_DISABLE(x) (((x) & 0x1) << 5)
#define S_028000_DEPTH_COMPRESS_DISABLE(x) (((x) & 0x1) << 6)
-#define S_028000_PERFECT_ZPASS_COUNTS(x) (((x) & 0x1) << 15)
+#define R_028004_DB_COUNT_CONTROL 0x00028004
+#define S_028004_ZPASS_INCREMENT_DISABLE (((x) & 0x1) << 0)
+#define S_028004_PERFECT_ZPASS_COUNTS(x) (((x) & 0x1) << 1)
#define R_028008_DB_DEPTH_VIEW 0x00028008
#define R_02800C_DB_RENDER_OVERRIDE 0x0002800C
#define V_02800C_FORCE_OFF 0