mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
driconf/anv: Apply limit_trig_input_range WA to Rise of the Tomb Raider
During its Ambient Occlusion calculations the game ends up calculating sin/cos of some pretty big values, for which HW produces completely bogus results (e.g. cos(3929491.25) ~= -0.011, while correct would be ~0.923). Limit the arguments to the reasonable (-2*Pi; 2*Pi) range with the limit_trig_input_range WA. Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8292 Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21396>
This commit is contained in:
parent
b43d32b77d
commit
42dba8ebc5
1 changed files with 6 additions and 0 deletions
|
|
@ -999,6 +999,12 @@ TODO: document the other workarounds.
|
|||
<application name="Batman™: Arkham Knight" executable="BatmanAK.exe">
|
||||
<option name="anv_sample_mask_out_opengl_behaviour" value="true"/>
|
||||
</application>
|
||||
<application name="Rise of the Tomb Raider" executable="RiseOfTheTombRaider">
|
||||
<option name="limit_trig_input_range" value="true" />
|
||||
</application>
|
||||
<application name="Rise of the Tomb Raider" executable="ROTTR.exe">
|
||||
<option name="limit_trig_input_range" value="true" />
|
||||
</application>
|
||||
</device>
|
||||
<device driver="dzn">
|
||||
<application name="No Man's Sky" executable="NMS.exe">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue