summaryrefslogtreecommitdiffstats
path: root/src/glsl/Makefile.sources
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-08-03 17:20:33 -0700
committerEric Anholt <eric@anholt.net>2015-08-04 20:03:10 -0700
commit6c28ee20410afe97dd441b0c9c680b26eb4072fc (patch)
tree70327b3febc82959888aab103ce6d1a5738e4630 /src/glsl/Makefile.sources
parent45248d3640f5a0356085e26c44548bf3af5dec0f (diff)
downloadexternal_mesa3d-6c28ee20410afe97dd441b0c9c680b26eb4072fc.zip
external_mesa3d-6c28ee20410afe97dd441b0c9c680b26eb4072fc.tar.gz
external_mesa3d-6c28ee20410afe97dd441b0c9c680b26eb4072fc.tar.bz2
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 <mattst88@gmail.com>
Diffstat (limited to 'src/glsl/Makefile.sources')
-rw-r--r--src/glsl/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources
index 93f4e48..a0e85ed 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 \