Skip to content

nir: Switch from ralloc to malloc for NIR instructions

Emma Anholt requested to merge anholt/mesa:nir-de-ralloc into main

nir: Switch from ralloc to malloc for NIR instructions.

By replacing the 48-byte ralloc header with our exec_node gc_node (16 bytes), runtime of shader-db on my system across this series drops -4.21738% +/- 1.47757% (n=5).

Inspired by discussion on #5034 (closed).

MR based on !5439 (merged) and !11772 (merged) (which were used as the baseline for the performance test).

Merge request reports