From 425a89cb75bc7f2723a77c55b3b22b1cf39c4cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 4 Jul 2025 13:51:36 -0400 Subject: [PATCH] glsl: don't call nir_split_var_copies in preprocess_shader it seems to have no effect Reviewed-by: Alyssa Rosenzweig Part-of: --- src/compiler/glsl/gl_nir_linker.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/glsl/gl_nir_linker.c b/src/compiler/glsl/gl_nir_linker.c index 6d2e7d0b0f8..3330ef20f43 100644 --- a/src/compiler/glsl/gl_nir_linker.c +++ b/src/compiler/glsl/gl_nir_linker.c @@ -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) {