Re: [Mesa-dev] [RFC v2 4/4] nir: add crude live range analysis to nir_compact_varyings()

2018-12-09 Thread Timothy Arceri
Using robs packing fix for the st I'm actually getting results for radeonsi now but they are pretty mixed for this patch: Totals from affected shaders: SGPRS: 35992 -> 35520 (-1.31 %) VGPRS: 20688 -> 20808 (0.58 %) Spilled SGPRs: 1926 -> 1996 (3.63 %) Spilled VGPRs: 0 -> 0 (0.00 %) Private

[Mesa-dev] [RFC v2 4/4] nir: add crude live range analysis to nir_compact_varyings()

2018-12-09 Thread Timothy Arceri
vkpipeline-db results RADV (VEGA): Totals from affected shaders: SGPRS: 27168 -> 27872 (2.59 %) VGPRS: 24180 -> 24056 (-0.51 %) Spilled SGPRs: 28 -> 24 (-14.29 %) Spilled VGPRs: 0 -> 0 (0.00 %) Private memory VGPRs: 0 -> 0 (0.00 %) Scratch size: 0 -> 0 (0.00 %) dwords per thread Code Size: