radv: use app names instead of exec name for shader based drirc workarounds

Otherwise, they aren't applied if shaders are pre-compiled using
builders because the executable name would be fossilize-replay.

Using pApplicationName is the correct way to do because it's replayed
by Fossilize correctly.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31621>
This commit is contained in:
Samuel Pitoiset 2024-10-14 10:06:02 +02:00 committed by Marge Bot
parent 0a81dc8782
commit 56813236f4

View file

@ -33,6 +33,8 @@ Application bugs worked around in this file:
value CDATA #REQUIRED>
]>
<!-- NOTE: `executable` shouldn't be used for shader based drirc workarounds
because they aren't applied when replaying with Fossilize for precompilation. -->
<driconf>
<device driver="radv">
<!-- Engine workarounds -->
@ -81,7 +83,7 @@ Application bugs worked around in this file:
<option name="radv_split_fma" value="true" />
</application>
<application name="RAGE 2" executable="RAGE2.exe">
<application name="RAGE 2" application_name_match="Rage 2">
<option name="radv_enable_mrt_output_nan_fixup" value="true" />
<option name="radv_app_layer" value="rage2" />
<option name="radv_zero_vram" value="true" />
@ -143,19 +145,19 @@ Application bugs worked around in this file:
<option name="radv_rt_wave64" value="true" />
</application>
<application name="War Thunder" executable="aces">
<application name="War Thunder" application_name_match="WarThunder">
<option name="radv_invariant_geom" value="true"/>
</application>
<application name="Crysis 2 Remastered" executable="Crysis2Remastered.exe">
<application name="Crysis 2 Remastered" application_name_match="Crysis2Remastered.exe">
<option name="radv_ssbo_non_uniform" value="true" />
</application>
<application name="Crysis 3 Remastered" executable="Crysis3Remastered.exe">
<application name="Crysis 3 Remastered" application_name_match="Crysis3Remastered.exe">
<option name="radv_ssbo_non_uniform" value="true" />
</application>
<application name="Persona 3 Reload" executable="P3R.exe">
<application name="Persona 3 Reload" application_name_match="P3R.exe">
<option name="radv_disable_ngg_gs" value="true" />
</application>