summaryrefslogtreecommitdiffstats
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c
index 1b6d65a2dba..b524499dde9 100644
--- a/src/gallium/drivers/lima/lima_program.c
+++ b/src/gallium/drivers/lima/lima_program.c
@@ -89,6 +89,7 @@ lima_program_optimize_vs_nir(struct nir_shader *s)
NIR_PASS_V(s, lima_nir_lower_uniform_to_scalar);
NIR_PASS_V(s, nir_lower_io_to_scalar,
nir_var_shader_in|nir_var_shader_out);
+ NIR_PASS_V(s, nir_lower_bool_to_float);
do {
progress = false;
@@ -124,6 +125,7 @@ lima_program_optimize_fs_nir(struct nir_shader *s)
NIR_PASS_V(s, nir_lower_io, nir_var_all, type_size, 0);
NIR_PASS_V(s, nir_lower_regs_to_ssa);
+ NIR_PASS_V(s, nir_lower_bool_to_float);
do {
progress = false;