Skip to content

freedreno/ir3: ubo lowering cleanup

Rob Clark requested to merge robclark/mesa:wip/ubo-lowering-cleanup into master

Split the ubo analysis and lowering into two passes, so that binning-pass variant can re-use the draw-pass variant's analysis.

The current arrangement is a bit fragile, since it assumes that the result of the analysis will be the same. Which is true currently, but wouldn't be if we (for ex) did the binning pass lowering in nir.

On top of !5508 (merged) since this would be pretty hopeless to fix properly when all variants are sharing the same const_state. The top 3 patches are the new ones in this MR.

Merge request reports