radeonsi: use radeonsi_clamp_div_by_zero for SPECviewperf13, Road Redemption
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 12 Aug 2020 11:28:55 +0000 (13:28 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 2 Sep 2020 09:53:16 +0000 (11:53 +0200)
Fixes SPECviewperf 13 creo rendering.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2639
Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6259>

src/util/00-mesa-defaults.conf

index 5cd65ccf18d5be11939af1263d6f0627c734eae8..b3358104e89601ef44565f90317322da11583853 100644 (file)
@@ -667,6 +667,10 @@ TODO: document the other workarounds.
         </application>
         <application name="SPECviewperf13" executable="viewperf">
             <option name="radeonsi_sync_compile" value="true" />
+            <option name="radeonsi_clamp_div_by_zero" value="true" />
+        </application>
+        <application name="Road Redemption" executable="RoadRedemption.x86_64">
+            <option name="radeonsi_clamp_div_by_zero" value="true" />
         </application>
     </device>
     <device driver="virtio_gpu">