radeonsi: use SI_PROFILE_CLAMP_DIV_BY_ZERO for viewperf

Only one shader from the Creo subtests needs this.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14931>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2022-02-07 18:46:23 +01:00 committed by Marge Bot
parent 9685b5785b
commit 3fad6325cd
2 changed files with 5 additions and 1 deletions

View file

@ -55,6 +55,11 @@ static struct si_shader_profile profiles[] =
{0x29f0f4a0, 0x0672258d, 0x47ccdcfd, 0x31e67dcc, 0xdcb1fda8},
SI_PROFILE_WAVE64,
},
{
/* Viewperf/Creo */
{0x1f288a73, 0xba46cce5, 0xbf68e6c6, 0x58543651, 0xca3c8efd},
SI_PROFILE_CLAMP_DIV_BY_ZERO,
},
};
static unsigned get_inst_tessfactor_writemask(nir_intrinsic_instr *intrin)

View file

@ -856,7 +856,6 @@ TODO: document the other workarounds.
<application name="SPECviewperf13" executable="viewperf">
<option name="glthread_nop_check_framebuffer_status" value="true" />
<option name="radeonsi_sync_compile" value="true" />
<option name="radeonsi_clamp_div_by_zero" value="true" />
<option name="radeonsi_tc_max_cpu_storage_size" value="2500" />
</application>
<application name="Road Redemption" executable="RoadRedemption.x86_64">