From aa234e276ef483d9bb2d91c07b72e9eeaf2c7414 Mon Sep 17 00:00:00 2001 From: Kurt Kartaltepe Date: Sun, 7 May 2023 12:55:48 -0700 Subject: [PATCH] drirc: Set limit_trig_input_range option for Nier games Resolves ambient occlusion rendering in Replicant Resolves grass and ocean animations in Automata, and maybe more. Both of these games have shaders that expect trig values to work across large ranges with good precision. Closes #7656 Reviewed-by: Lionel Landwerlin Cc: mesa-stable Part-of: (cherry picked from commit 7accfbffd83377a40f16e6f5e0a04d5a14683fad) --- .pick_status.json | 2 +- src/util/00-mesa-defaults.conf | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 3a2c79b183b..80c49495e04 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -13,7 +13,7 @@ "description": "drirc: Set limit_trig_input_range option for Nier games", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index f39825cde5d..d7ea52fb4c2 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -1030,6 +1030,12 @@ TODO: document the other workarounds. + + + +