radv do not force-disable hierarchical stencil testing

Looks like this was disabled by mistake. RadeonSI relies on the default
value which is "no force" and PAL only sets this to FORCE_DISABLE when
HTILE is completely disabled using settings.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31690>
This commit is contained in:
Samuel Pitoiset 2024-10-16 19:29:35 +02:00 committed by Marge Bot
parent 195cb98d30
commit daefd280e2

View file

@ -3784,7 +3784,6 @@ radv_emit_depth_clamp_enable(struct radv_cmd_buffer *cmd_buffer)
radeon_set_context_reg(
cmd_buffer->cs, R_02800C_DB_RENDER_OVERRIDE,
S_02800C_FORCE_HIS_ENABLE0(V_02800C_FORCE_DISABLE) | S_02800C_FORCE_HIS_ENABLE1(V_02800C_FORCE_DISABLE) |
S_02800C_DISABLE_VIEWPORT_CLAMP(pdev->info.gfx_level < GFX12 && mode == RADV_DEPTH_CLAMP_MODE_DISABLED));
if (pdev->info.gfx_level >= GFX12) {