summaryrefslogtreecommitdiffstats
path: root/src/glsl/list.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-03-10 04:18:06 -0700
committerJason Ekstrand <[email protected]>2015-05-06 10:29:30 -0700
commit0c0ca557117edd3a57443f4f454c3a8da1d4e0b5 (patch)
tree2090210c8ecceebc3dfd9a3fb6fa60194191ccfa /src/glsl/list.h
parent7a75b55a01d355090d186357896e3cb141b9775e (diff)
i965/fs: Allow copy propagation on ATTR file registers.
This especially helps with NIR because we currently emit MOVs at the top of the shader to copy from various ATTR registers to a giant VGRF array of all inputs. (This could potentially be done better, but since there's only ever one write to each register, it should be trivial to copy propagate away...) With NIR - only vertex shaders: total instructions in shared programs: 3129373 -> 2889581 (-7.66%) instructions in affected programs: 3119717 -> 2879925 (-7.69%) helped: 20833 Without NIR - only vertex shaders: total instructions in shared programs: 2745901 -> 2724483 (-0.78%) instructions in affected programs: 693426 -> 672008 (-3.09%) helped: 3516 Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/list.h')
0 files changed, 0 insertions, 0 deletions