mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01:00
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:
parent
66b157095c
commit
0574bfd5f4
1 changed files with 8 additions and 0 deletions
|
|
@ -1362,6 +1362,14 @@ TODO: document the other workarounds.
|
|||
<application name="Sons Of The Forest" executable="SonsOfTheForest.exe">
|
||||
<option name="tu_ignore_frag_depth_direction" value="true" />
|
||||
</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 driver="hk">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue