nir: Make image lowering optionally handle the !bindless case as well.
[mesa.git] / src / panfrost / bifrost / cmdline.c
index 243f432275b594d60bdb82acc7ed43185b976c5c..2c0d1a235530f43ea0d8dcbcc1edbdae638648cf 100644 (file)
@@ -62,7 +62,7 @@ compile_shader(char **argv)
                 NIR_PASS_V(nir[i], nir_lower_alu_to_scalar, NULL, NULL);
 
                 /* before buffers and vars_to_ssa */
-                NIR_PASS_V(nir[i], gl_nir_lower_bindless_images);
+                NIR_PASS_V(nir[i], gl_nir_lower_images, true);
 
                 NIR_PASS_V(nir[i], gl_nir_lower_buffers, prog);
                 NIR_PASS_V(nir[i], nir_opt_constant_folding);