Skip to content

radv: Small improvements to NGG culling code.

Timur Kristóf requested to merge Venemo/mesa:radv-nggc-improvements into main

A few changes that are mainly aimed at reducing the code size of NGG culling shaders.

Fossil DB results on Sienna Cichlid (with NGGC on):

Totals from 58239 (45.27% of 128647) affected shaders:
SpillSGPRs: 330 -> 340 (+3.03%)
CodeSize: 168797768 -> 162804124 (-3.55%)
Instrs: 32359722 -> 31088872 (-3.93%)
Latency: 139462135 -> 138286967 (-0.84%); split: -0.88%, +0.04%
InvThroughput: 22813014 -> 22405420 (-1.79%); split: -1.80%, +0.02%
VClause: 545313 -> 545277 (-0.01%); split: -0.03%, +0.02%
SClause: 753744 -> 753807 (+0.01%); split: -0.01%, +0.01%
Copies: 3093135 -> 3269100 (+5.69%); split: -0.02%, +5.70%
Branches: 1223441 -> 1223440 (-0.00%); split: -0.00%, +0.00%
PreSGPRs: 2025339 -> 2091007 (+3.24%); split: -0.00%, +3.24%
Edited by Timur Kristóf

Merge request reports