nir: Allow uniform in nir_lower_vars_to_explicit_types
[mesa.git] / src / compiler / nir / nir_worklist.c
index 3ae2770288b446c41a36866be3d72ee535d9bf4c..75e9426daeef9dea83448090f57eb00d9ac811f1 100644 (file)
@@ -37,7 +37,7 @@ nir_block_worklist_init(nir_block_worklist *w, unsigned num_blocks,
 
    w->blocks_present = rzalloc_array(mem_ctx, BITSET_WORD,
                                      BITSET_WORDS(num_blocks));
-   w->blocks = ralloc_array(mem_ctx, nir_block *, num_blocks);
+   w->blocks = rzalloc_array(mem_ctx, nir_block *, num_blocks);
 }
 
 void