Mesa (master): r300-gallium: Remove unknown regs.
Corbin Simpson
csimpson at kemper.freedesktop.org
Sat Mar 7 03:08:05 UTC 2009
Module: Mesa
Branch: master
Commit: 95476635c5a5543f12f5b75bc43e5fcca6335e3c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95476635c5a5543f12f5b75bc43e5fcca6335e3c
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date: Fri Mar 6 14:23:20 2009 -0800
r300-gallium: Remove unknown regs.
Leftovers from fglrx traces, probably.
---
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 92ddace..9f81e2e 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) {
More information about the mesa-commit
mailing list