Mesa (staging/20.1): radeonsi: use radeonsi_clamp_div_by_zero for SPECviewperf13, Road Redemption
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Sep 2 13:58:50 UTC 2020
Module: Mesa
Branch: staging/20.1
Commit: 2cb9ce79552192f2d921e4db7f9fb164fc646e0b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cb9ce79552192f2d921e4db7f9fb164fc646e0b
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Wed Aug 12 13:28:55 2020 +0200
radeonsi: use radeonsi_clamp_div_by_zero for SPECviewperf13, Road Redemption
Fixes SPECviewperf 13 creo rendering.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2639
Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6259>
(cherry picked from commit a1c2bd6ce8981b34c0cf9333699b0ce75be6cb55)
---
.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 4b2667df6d4..867eb75d5e6 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -13,7 +13,7 @@
"description": "radeonsi: use radeonsi_clamp_div_by_zero for SPECviewperf13, Road Redemption",
"nominated": true,
"nomination_type": 0,
- "resolution": 0,
+ "resolution": 1,
"master_sha": null,
"because_sha": null
},
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 68c6b7425e9..9e6fd291118 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -637,6 +637,12 @@ TODO: document the other workarounds.
<application name="Peace, Death!" executable="runner" sha1="5b909f3d21799773370adf084f649848f098234e">
<option name="radeonsi_sync_compile" value="true" />
</application>
+ <application name="SPECviewperf13" executable="viewperf">
+ <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">
<!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES
More information about the mesa-commit
mailing list