diff --git a/src/compiler/glsl/gl_nir_linker.c b/src/compiler/glsl/gl_nir_linker.c index 3330ef20f43..3b0d79c23d0 100644 --- a/src/compiler/glsl/gl_nir_linker.c +++ b/src/compiler/glsl/gl_nir_linker.c @@ -1292,7 +1292,6 @@ preprocess_shader(const struct gl_constants *consts, if (prog->info.stage == MESA_SHADER_FRAGMENT && consts->HasFBFetch) { NIR_PASS(_, prog->nir, gl_nir_lower_blend_equation_advanced, exts->KHR_blend_equation_advanced_coherent); - nir_lower_global_vars_to_local(prog->nir); } /* Set the next shader stage hint for VS and TES. */