From 49111213e483e4f7830f77f53fc4331a57a296e3 Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Fri, 24 Sep 2010 16:09:05 -0400 Subject: [PATCH] r600g: fix reg definition Doesn't bother fixing old path code, just disable that reg. Signed-off-by: Jerome Glisse --- src/gallium/drivers/r600/evergreend.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h index 2359c783838..0a0a91eea2a 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 -- 2.30.2