ac: invalidate metadata after hs_emit_write_tess_factors()

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9804>
This commit is contained in:
Rhys Perry 2021-03-24 14:53:19 +00:00 committed by Marge Bot
parent 22a979be65
commit b7fb5450ef
1 changed files with 3 additions and 1 deletions

View File

@ -549,6 +549,8 @@ hs_emit_write_tess_factors(nir_shader *shader,
}
nir_pop_if(b, invocation_id_zero);
nir_metadata_preserve(impl, nir_metadata_none);
}
static nir_ssa_def *
@ -736,4 +738,4 @@ ac_nir_lower_tess_to_const(nir_shader *shader,
filter_const_lowerable_tess_intrinsics,
lower_tess_intrinsics_to_const,
&st);
}
}