summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2007-05-06 11:54:00 +0000
committerOliver McFadden <[email protected]>2007-05-06 11:54:00 +0000
commit56d966357447d55df838daa8ed3bfcc97d405beb (patch)
tree73f84819e9f0f9ba9a40b3f75e0c575ed1d9cff6
parent81d1a04e04185a91ca6ecc0148083c761a52c6c9 (diff)
r300: R300_ZS_... is now set in separate functions; removed the deprecated code.
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index fcc8cb8a2c3..469239aa928 100644
--- a/src/mesa/drivers/dri/r300/r300_state.c
+++ b/src/mesa/drivers/dri/r300/r300_state.c
@@ -1886,20 +1886,6 @@ void r300ResetHwState(r300ContextPtr r300)
/* This is a place to initialize registers which
have bitfields accessed by different functions
and not all bits are used */
-#if 0
- /* initialize similiar to r200 */
- r300->hw.zs.cmd[R300_ZS_CNTL_0] = 0;
- r300->hw.zs.cmd[R300_ZS_CNTL_1] =
- (R300_ZS_ALWAYS << R300_RB3D_ZS1_FRONT_FUNC_SHIFT) |
- (R300_ZS_KEEP << R300_RB3D_ZS1_FRONT_FAIL_OP_SHIFT) |
- (R300_ZS_KEEP << R300_RB3D_ZS1_FRONT_ZPASS_OP_SHIFT) |
- (R300_ZS_KEEP << R300_RB3D_ZS1_FRONT_ZFAIL_OP_SHIFT) |
- (R300_ZS_ALWAYS << R300_RB3D_ZS1_BACK_FUNC_SHIFT) |
- (R300_ZS_KEEP << R300_RB3D_ZS1_BACK_FAIL_OP_SHIFT) |
- (R300_ZS_KEEP << R300_RB3D_ZS1_BACK_ZPASS_OP_SHIFT) |
- (R300_ZS_KEEP << R300_RB3D_ZS1_BACK_ZFAIL_OP_SHIFT);
- r300->hw.zs.cmd[R300_ZS_CNTL_2] = 0x00ffff00;
-#endif
/* go and compute register values from GL state */