radeonsi: don't use nir_opt_access

st/mesa already calls this and nir_opt_access should be run with
deref-based SSBO access.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6778>
This commit is contained in:
Rhys Perry 2020-09-18 17:13:59 +01:00
parent 87f91e2014
commit 68bb91ee11
1 changed files with 0 additions and 1 deletions

View File

@ -733,7 +733,6 @@ static void si_lower_nir(struct si_screen *sscreen, struct nir_shader *nir)
/* Lower load constants to scalar and then clean up the mess */
NIR_PASS_V(nir, nir_lower_load_const_to_scalar);
NIR_PASS_V(nir, nir_lower_var_copies);
NIR_PASS_V(nir, nir_opt_access);
if (nir->info.stage == MESA_SHADER_FRAGMENT &&
sscreen->info.has_packed_math_16bit &&