radv: set radv_gfx12_hiz_wa=partial for some games to mitigate performance loss

The full workaround can hurt performance and there is no other known
solution. The only one is to select which HiZ WA works the best by
trial and error.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36174>
This commit is contained in:
Samuel Pitoiset 2025-09-08 18:53:26 +02:00 committed by Marge Bot
parent b00b8c763b
commit c122d70dfd

View file

@ -74,6 +74,10 @@ Application bugs worked around in this file:
<application name="Shadow Of The Tomb Raider (Native)" application_name_match="ShadowOfTheTomb">
<option name="radv_report_llvm9_version_string" value="true" />
<option name="radv_invariant_geom" value="true" />
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="Shadow Of The Tomb Raider (DX11/DX12)" application_name_match="SOTTR.exe">
@ -114,6 +118,10 @@ Application bugs worked around in this file:
<option name="radv_invariant_geom" value="true" />
<option name="radv_emulate_rt" value="true" />
<option name="radv_enable_float16_gfx8" value="true" />
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="DOOM (2016)" application_name_match="DOOM$">
@ -148,6 +156,10 @@ Application bugs worked around in this file:
<!-- Disable DCC for mips to workaround rendering issues because
the game aliases two images incorrectly. -->
<option name="radv_disable_dcc_mips" value="true" />
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="Metro Exodus (Linux native)" application_name_match="metroexodus">
@ -184,6 +196,66 @@ Application bugs worked around in this file:
<option name="radv_zero_vram" value="true" />
</application>
<application name="DiRT4" application_name_match="dirt4.exe">
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="Strange Brigade (DX12)" application_name_match="StrangeBrigade_DX12.exe">
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="Strange Brigade (VK)" application_name_match="Strange">
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="Sniper Elite 5 (DX12)" application_name_match="sniper5_dx12.exe">
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="Sniper Elite 5 (VK)" application_name_match="Sniper5">
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="Counter Strike 2" application_name_match="csgo">
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="Forza Horizon 5" application_name_match="ForzaHorizon5.exe">
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="Far Cry 2" application_name_match="FarCry2.exe">
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="DiRT Rally 2.0" application_name_match="dirtrally2.exe">
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<application name="Valheim" application_name_match="Valheim">
<!-- The full WA hurts performance too much, use the partial one
that seems fine overall. -->
<option name="radv_gfx12_hiz_wa" value="partial" />
</application>
<!-- OpenGL Game workarounds (zink) -->
<application name="Black Geyser: Couriers of Darkness" executable="BlackGeyser.x86_64">
<option name="radv_zero_vram" value="true" />