diff --git a/src/gallium/drivers/lima/ci/lima-fails.txt b/src/gallium/drivers/lima/ci/lima-fails.txt index 58035199bc7..8cc9dffab87 100644 --- a/src/gallium/drivers/lima/ci/lima-fails.txt +++ b/src/gallium/drivers/lima/ci/lima-fails.txt @@ -388,6 +388,7 @@ spec@glsl-1.10@execution@samplers@glsl-fs-shadow2d-clamp-z,Fail spec@glsl-1.10@execution@samplers@glsl-fs-shadow2d,Fail spec@glsl-1.10@execution@samplers@glsl-fs-shadow2dproj-bias,Fail spec@glsl-1.10@execution@samplers@glsl-fs-shadow2dproj,Fail +spec@glsl-1.10@execution@temp-array-indexing@glsl-vs-giant-temp-array,Fail spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat2-col-row-wr,Fail spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat2-col-wr,Fail spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat2-index-col-row-wr,Fail diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c index f28eac5081c..9e43db13ea7 100644 --- a/src/gallium/drivers/lima/lima_program.c +++ b/src/gallium/drivers/lima/lima_program.c @@ -138,6 +138,7 @@ lima_program_optimize_vs_nir(struct nir_shader *s) NIR_PASS(progress, s, nir_opt_constant_folding); NIR_PASS(progress, s, nir_opt_undef); NIR_PASS(progress, s, nir_opt_loop_unroll); + NIR_PASS(progress, s, nir_lower_undef_to_zero); } while (progress); NIR_PASS_V(s, nir_lower_int_to_float);