mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
drirc: Set limit_trig_input_range option for the Wolfenstein Youngblood
One of the fragment shaders passes large values to sin() function that causes some blinking artifacts on Intel. This workaround limits the input range for sin() to [-2*pi : 2*pi] to have better precision. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6452 Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16388>
This commit is contained in:
parent
55c71217ec
commit
46b135738b
1 changed files with 3 additions and 0 deletions
|
|
@ -915,6 +915,9 @@ TODO: document the other workarounds.
|
|||
<application name="DOOMEternal" executable="DOOMEternalx64vk.exe">
|
||||
<option name="anv_assume_full_subgroups" value="true" />
|
||||
</application>
|
||||
<application name="Wolfenstein: Youngblood(x64vk)" executable="Youngblood_x64vk.exe">
|
||||
<option name="limit_trig_input_range" value="true" />
|
||||
</application>
|
||||
</device>
|
||||
|
||||
<device driver="virtio_gpu">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue