From: Jerome Glisse Date: Fri, 24 Sep 2010 20:09:05 +0000 (-0400) Subject: r600g: fix reg definition X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49111213e483e4f7830f77f53fc4331a57a296e3;p=mesa.git r600g: fix reg definition Doesn't bother fixing old path code, just disable that reg. Signed-off-by: Jerome Glisse --- 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