r600g: fix reg definition
authorJerome Glisse <jglisse@redhat.com>
Fri, 24 Sep 2010 20:09:05 +0000 (16:09 -0400)
committerJerome Glisse <jglisse@redhat.com>
Fri, 24 Sep 2010 20:09:05 +0000 (16:09 -0400)
Doesn't bother fixing old path code, just disable that reg.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/evergreend.h

index 2359c783838166f897526dde4bc89b39b3c41c37..0a0a91eea2aa76d3c28a95203f36e2faedf353c5 100644 (file)
 #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