diff options
author | Corbin Simpson <[email protected]> | 2009-03-06 14:23:20 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-03-06 19:07:53 -0800 |
commit | 95476635c5a5543f12f5b75bc43e5fcca6335e3c (patch) | |
tree | 338a73a26c0f7ff04480263a650a393424db9b59 /src/gallium/drivers | |
parent | e23e93b7b400d1a4c7049b6f22f39cc7148a97f7 (diff) |
r300-gallium: Remove unknown regs.
Leftovers from fglrx traces, probably.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/r300/r300_surface.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.c b/src/gallium/drivers/r300/r300_surface.c index 92ddaceb8f4..9f81e2e730c 100644 --- a/src/gallium/drivers/r300/r300_surface.c +++ b/src/gallium/drivers/r300/r300_surface.c @@ -125,14 +125,6 @@ static void r300_surface_fill(struct pipe_context* pipe, OUT_CS_REG(R300_SC_EDGERULE, 0x2DA49525); OUT_CS_REG(R300_RB3D_CCTL, 0x00000000); OUT_CS_REG(RB3D_COLOR_CHANNEL_MASK, 0x0000000F); - - /* XXX: Oh the wonderful unknown. - * Not writing these 8 regs seems to make no difference at all and seeing - * as how they're not documented, we should leave them out for now. - OUT_CS_REG_SEQ(0x4E54, 8); - for (i = 0; i < 8; i++) { - OUT_CS(0x00000000); - } */ OUT_CS_REG(R300_RB3D_AARESOLVE_CTL, 0x00000000); OUT_CS_REG(R500_RB3D_DISCARD_SRC_PIXEL_LTE_THRESHOLD, 0x00000000); OUT_CS_REG(R500_RB3D_DISCARD_SRC_PIXEL_GTE_THRESHOLD, 0xFFFFFFFF); @@ -140,9 +132,6 @@ static void r300_surface_fill(struct pipe_context* pipe, OUT_CS_REG(R300_ZB_ZCACHE_CTLSTAT, 0x00000003); OUT_CS_REG(R300_ZB_BW_CNTL, 0x00000000); OUT_CS_REG(R300_ZB_DEPTHCLEARVALUE, 0x00000000); - /* XXX Moar unknown that should probably be left out. - OUT_CS_REG(0x4F30, 0x00000000); - OUT_CS_REG(0x4F34, 0x00000000); */ OUT_CS_REG(R300_ZB_HIZ_OFFSET, 0x00000000); OUT_CS_REG(R300_ZB_HIZ_PITCH, 0x00000000); if (caps->has_tcl) { |