tu: add UBO lowering workaround for Yooka-Laylee

A vertex shader performs OOB UBO reads causing vertex corruption.
Disable UBO to const lowering to force bounds checking which fixes the
corruption.

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38781>
This commit is contained in:
Job Noorman 2025-12-03 11:09:27 +01:00 committed by Marge Bot
parent 66b157095c
commit 0574bfd5f4

View file

@ -1362,6 +1362,14 @@ TODO: document the other workarounds.
<application name="Sons Of The Forest" executable="SonsOfTheForest.exe"> <application name="Sons Of The Forest" executable="SonsOfTheForest.exe">
<option name="tu_ignore_frag_depth_direction" value="true" /> <option name="tu_ignore_frag_depth_direction" value="true" />
</application> </application>
<application name="Yooka-Laylee" executable="YookaLaylee.x86_64">
<!--
A vertex shader performs OOB UBO reads causing vertex corruption.
Disable UBO to const lowering to force bounds checking which
fixes the corruption.
-->
<option name="tu_allow_oob_indirect_ubo_loads" value="true" />
</application>
</device> </device>
<device driver="hk"> <device driver="hk">