summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2020-08-12 13:28:55 +0200
committerEric Engestrom <eric@engestrom.ch>2020-09-02 21:50:50 +0200
commitbeb03cfcd1d1b25b0e8f737a5a5495843f8ea5e9 (patch)
tree5458801d5e8535e6033350be82db3e6de275fa5c
parent9fd8d6022073d3b7b995b5c185807a01c3d5b372 (diff)
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@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6259> (cherry picked from commit a1c2bd6ce8981b34c0cf9333699b0ce75be6cb55)
-rw-r--r--.pick_status.json2
-rw-r--r--src/util/00-mesa-defaults.conf6
2 files changed, 7 insertions, 1 deletions
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