glsl: don't call nir_split_var_copies in preprocess_shader

it seems to have no effect

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35945>
This commit is contained in:
Marek Olšák 2025-07-04 13:51:36 -04:00 committed by Marge Bot
parent a065a09d22
commit 425a89cb75

View file

@ -1327,7 +1327,6 @@ preprocess_shader(const struct gl_constants *consts,
NIR_PASS(_, nir, gl_nir_zero_initialize_clip_distance);
NIR_PASS(_, nir, nir_lower_global_vars_to_local);
NIR_PASS(_, nir, nir_split_var_copies);
NIR_PASS(_, nir, nir_lower_var_copies);
if (gl_options->LowerPrecisionFloat16 && gl_options->LowerPrecisionInt16) {