zink: stop running discard_if in generated tcs

just embarrassing smh

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13798>
This commit is contained in:
Mike Blumenkrantz 2021-10-28 10:18:44 -04:00 committed by Marge Bot
parent df526aae1b
commit 93a55537f2
1 changed files with 0 additions and 1 deletions

View File

@ -2024,7 +2024,6 @@ zink_shader_tcs_create(struct zink_screen *screen, struct zink_shader *vs, unsig
NIR_PASS_V(nir, nir_lower_regs_to_ssa);
optimize_nir(nir);
NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL);
NIR_PASS_V(nir, lower_discard_if);
NIR_PASS_V(nir, nir_convert_from_ssa, true);
ret->nir = nir;