27c8131978
Deal with VS input related things in a single pass instead of having two different passes. Fossil DB stats on Rembrandt (GFX10.3): Totals from 174 (0.13% of 134913) affected shaders: VGPRs: 7736 -> 7520 (-2.79%) CodeSize: 354004 -> 353604 (-0.11%); split: -0.17%, +0.06% MaxWaves: 4196 -> 4248 (+1.24%) Instrs: 65228 -> 65139 (-0.14%); split: -0.19%, +0.06% Latency: 265823 -> 265728 (-0.04%); split: -0.12%, +0.08% InvThroughput: 84629 -> 84644 (+0.02%); split: -0.08%, +0.10% VClause: 1618 -> 1606 (-0.74%); split: -0.93%, +0.19% SClause: 1382 -> 1379 (-0.22%); split: -0.36%, +0.14% Copies: 5586 -> 5566 (-0.36%); split: -0.55%, +0.20% PreSGPRs: 4994 -> 5037 (+0.86%); split: -0.10%, +0.96% PreVGPRs: 4948 -> 4955 (+0.14%); split: -0.04%, +0.18% Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16805>