summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-07-16 14:01:40 +1000
committerTimothy Arceri <[email protected]>2018-07-23 09:48:51 +1000
commit78f391d343609dca85fdaf1753a3403cf32a3842 (patch)
tree472310a2f6190f3194566e19b56486316b90734d /src/amd
parent257128079cdd83d6badcab34d647ff6a6fc87d3e (diff)
radeonsi/nir: make use of nir_lower_load_const_to_scalar()
This allows NIR to CSE more operations. LLVM does this also so the impact is limited, however doing this in NIR allows other opts to make progress. For example some loops in Civilization Beyond Earth shaders are unrolled. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd')
0 files changed, 0 insertions, 0 deletions