glsl: don't call nir_lower_global_vars_to_local twice in preprocess_shader
it's called again below Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35945>
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user