tu+util: Prefer SYSMEM for DXVK/VKD3D

PC games tend to almost always run far better in SYSMEM due to the
high FS complexity, and so preferring SYSMEM tends to be a winning
policy until profiled mode reaches a state where it can surpass it.

Signed-off-by: Dhruv Mark Collins <mark@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37802>
This commit is contained in:
Dhruv Mark Collins 2026-03-12 15:40:16 +00:00
parent ed643d1766
commit 3002d77dfd

View file

@ -1411,6 +1411,12 @@ TODO: document the other workarounds.
alpha-to-coverage statically disabled.
-->
<option name="tu_emulate_alpha_to_coverage" value="true" />
<!--
DX games almost always tend to prefer SYSMEM over GMEM, so we just hardcode
this for DXVK and VKD3D-Proton.
-->
<option name="tu_autotune_algorithm" value="prefer_sysmem" />
</engine>
<engine engine_name_match="vkd3d">
<option name="tu_enable_softfloat32" value="true" />