aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/lima_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/lima/lima_program.c')
-rw-r--r--src/gallium/drivers/lima/lima_program.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c
index 19eef27f320..bd7c40f7f6e 100644
--- a/src/gallium/drivers/lima/lima_program.c
+++ b/src/gallium/drivers/lima/lima_program.c
@@ -248,6 +248,9 @@ lima_program_optimize_fs_nir(struct nir_shader *s,
NIR_PASS_V(s, nir_move_vec_src_uses_to_dest);
NIR_PASS_V(s, nir_lower_vec_to_movs);
+ NIR_PASS_V(s, lima_nir_duplicate_load_uniforms);
+ NIR_PASS_V(s, lima_nir_duplicate_load_inputs);
+
nir_sweep(s);
}