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/Makefile.sources | |
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/Makefile.sources')
-rw-r--r-- | src/glsl/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources index 93f4e48d615..a0e85ed9e4a 100644 --- a/src/glsl/Makefile.sources +++ b/src/glsl/Makefile.sources @@ -33,6 +33,7 @@ NIR_FILES = \ nir/nir_lower_alu_to_scalar.c \ nir/nir_lower_atomics.c \ nir/nir_lower_global_vars_to_local.c \ + nir/nir_lower_load_const_to_scalar.c \ nir/nir_lower_locals_to_regs.c \ nir/nir_lower_idiv.c \ nir/nir_lower_io.c \ |