mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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.
This commit is contained in:
parent
1e4744d2b9
commit
f292e13a20
1 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue