Files
mesa/src/util
Sviatoslav Peleshko 42dba8ebc5 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>
2023-02-21 19:23:28 +00:00
..
2022-07-07 12:25:05 +00:00
2022-04-22 19:38:52 +00:00
2022-09-29 23:40:18 +00:00
2022-09-29 23:40:18 +00:00
2022-06-02 13:09:16 +00:00
2023-01-19 03:25:55 +00:00
2022-11-14 20:13:20 +00:00
2022-08-26 21:47:44 +00:00
2023-02-18 00:44:43 +00:00
2023-02-12 17:11:16 +00:00
2022-06-02 13:09:16 +00:00
2022-11-04 23:20:02 +00:00
2022-11-04 23:20:02 +00:00
2022-03-09 08:48:59 +00:00
2022-03-09 08:48:59 +00:00
2023-02-18 00:44:43 +00:00
2022-08-04 23:53:49 +00:00
2022-11-24 04:33:07 +00:00
2022-05-17 21:02:24 +00:00
2022-12-17 19:14:12 +00:00
2022-12-17 19:14:12 +00:00