1d03897564
We can do some movement for UBO and SSBO after they are lowered in preprocess. We already do this in postprocess but this now also catch SSBOs as they are lowered in postprocess. Overall, reduce fills (less load from TLS) in fossils (excluding parallel-rdp as it crash still): Totals: Instrs: 115242 -> 115046 (-0.17%); split: -0.20%, +0.03% CodeSize: 1168896 -> 1164928 (-0.34%); split: -0.35%, +0.01% Estimated normalized CVT cycles: 762.015625 -> 757.109375 (-0.64%); split: -0.75%, +0.11% Estimated normalized Load/Store cycles: 12693.0 -> 12680.0 (-0.10%); split: -0.11%, +0.01% Number of spill instructions: 358 -> 359 (+0.28%) Number of fill instructions: 1600 -> 1584 (-1.00%) Totals from 127 (15.82% of 803) affected shaders: Instrs: 31753 -> 31557 (-0.62%); split: -0.73%, +0.12% CodeSize: 335104 -> 331136 (-1.18%); split: -1.22%, +0.04% Estimated normalized CVT cycles: 205.546875 -> 200.640625 (-2.39%); split: -2.78%, +0.40% Estimated normalized Load/Store cycles: 3935.0 -> 3922.0 (-0.33%); split: -0.36%, +0.03% Number of spill instructions: 124 -> 125 (+0.81%) Number of fill instructions: 452 -> 436 (-3.54%) Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Olivia Lee <olivia.lee@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776>