diff options
author | Eric Anholt <[email protected]> | 2015-08-03 17:20:33 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-08-04 20:03:10 -0700 |
commit | 6c28ee20410afe97dd441b0c9c680b26eb4072fc (patch) | |
tree | 70327b3febc82959888aab103ce6d1a5738e4630 /src/glsl/ast_function.cpp | |
parent | 45248d3640f5a0356085e26c44548bf3af5dec0f (diff) |
nir: Add a nir_lower_load_const_to_scalar() pass.
This is useful to increase the CSE opportunities for a scalar backend. It
avoids regressions when dropping vc4's custom CSE implementation.
v2: Cleanups by Matt (decl in the for loop, and unreachable()).
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/ast_function.cpp')
0 files changed, 0 insertions, 0 deletions