diff options
author | Nicolai Haehnle <[email protected]> | 2005-06-21 17:18:00 +0000 |
---|---|---|
committer | Nicolai Haehnle <[email protected]> | 2005-06-21 17:18:00 +0000 |
commit | f292e13a20a262411360bf4af5337595976cebc7 (patch) | |
tree | 42446ce98a44ee875f8c1f73ab69d2636a41e5b2 /src/mesa | |
parent | 1e4744d2b91156abdf792f63aa9c2224f44f2791 (diff) |
Back out the actual enabling of depth tiling.
Depth tiling breaks software fallbacks and depth buffer reads.
radeon_span.c **must** be updated for anything that is related to tiling.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_state.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 68aeb5efdfc..1ffb81c798b 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -2198,13 +2198,6 @@ void r300ResetHwState(r300ContextPtr r300) r300->radeon.radeonScreen->depthOffset + r300->radeon.radeonScreen->fbLocation; r300->hw.zb.cmd[R300_ZB_PITCH] = r300->radeon.radeonScreen->depthPitch; - /* Turn off when clearing buffers ? */ - r300->hw.zb.cmd[R300_ZB_PITCH] |= R300_DEPTH_TILE_ENABLE; - - if (ctx->Visual.depthBits == 24) - r300->hw.zb.cmd[R300_ZB_PITCH] |= R300_DEPTH_MICROTILE_ENABLE; - else if (ctx->Visual.depthBits == 16) - r300->hw.zb.cmd[R300_ZB_PITCH] |= R300_DEPTH_ENDIAN_WORD_SWAP; r300->hw.unk4F28.cmd[1] = 0; |