radv: enable radv_enable_mrt_output_nan_fixup for RAGE 2
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 5 Jun 2020 12:25:20 +0000 (14:25 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 12 Jun 2020 12:43:58 +0000 (14:43 +0200)
To fix game artifacts. It's always sad to have to fix game bugs
inside drivers ...

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5359>

src/util/00-mesa-defaults.conf

index e980efe18e82858a62c75058cc68e95fbefc3531..2aa3524e47e2ac73743a6004749dddfc4719ebd7 100644 (file)
@@ -686,6 +686,10 @@ TODO: document the other workarounds.
     <device driver="radv">
         <application name="Shadow Of The Tomb Raider" executable="ShadowOfTheTombRaider">
             <option name="radv_report_llvm9_version_string" value="true" />
+       </application>
+
+       <application name="RAGE 2" executable="RAGE2.exe">
+            <option name="radv_enable_mrt_output_nan_fixup" value="true" />
         </application>
     </device>
 </driconf>