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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user