lima/ppir: duplicate consts in nir
[mesa.git] / src / gallium / drivers / lima / lima_program.c
index bd7c40f7f6e59afba2fdc520281694fba853988b..75e74e23bc36c986aa147df8dfa8530e6c3d9cc8 100644 (file)
@@ -250,6 +250,7 @@ lima_program_optimize_fs_nir(struct nir_shader *s,
 
    NIR_PASS_V(s, lima_nir_duplicate_load_uniforms);
    NIR_PASS_V(s, lima_nir_duplicate_load_inputs);
+   NIR_PASS_V(s, lima_nir_duplicate_load_consts);
 
    nir_sweep(s);
 }