summaryrefslogtreecommitdiffstats
path: root/src/glsl/Makefile.sources
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2014-12-12 11:13:10 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2015-01-15 07:20:20 -0800
commitd5410bd8f65b8d0f845dc8beccd498b6fa098660 (patch)
tree4d944b67568f4e49e7c5e91f85ad057593321f11 /src/glsl/Makefile.sources
parent0e145a951e64e0b955e8315e22edf9e2ab4581ec (diff)
downloadexternal_mesa3d-d5410bd8f65b8d0f845dc8beccd498b6fa098660.zip
external_mesa3d-d5410bd8f65b8d0f845dc8beccd498b6fa098660.tar.gz
external_mesa3d-d5410bd8f65b8d0f845dc8beccd498b6fa098660.tar.bz2
nir: Add an algebraic optimization pass
This pass uses the previously built algebraic transformations framework and should act as an example for anyone else wanting to make an algebraic transformation pass for NIR. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Diffstat (limited to 'src/glsl/Makefile.sources')
-rw-r--r--src/glsl/Makefile.sources6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources
index 201330d..fe0f47b 100644
--- a/src/glsl/Makefile.sources
+++ b/src/glsl/Makefile.sources
@@ -13,6 +13,9 @@ LIBGLCPP_GENERATED_FILES = \
$(GLSL_BUILDDIR)/glcpp/glcpp-lex.c \
$(GLSL_BUILDDIR)/glcpp/glcpp-parse.c
+NIR_GENERATED_FILES = \
+ $(GLSL_BUILDDIR)/nir/nir_opt_algebraic.c
+
NIR_FILES = \
$(GLSL_SRCDIR)/nir/nir.c \
$(GLSL_SRCDIR)/nir/nir.h \
@@ -47,7 +50,8 @@ NIR_FILES = \
$(GLSL_SRCDIR)/nir/nir_to_ssa.c \
$(GLSL_SRCDIR)/nir/nir_validate.c \
$(GLSL_SRCDIR)/nir/nir_types.cpp \
- $(GLSL_SRCDIR)/nir/glsl_to_nir.cpp
+ $(GLSL_SRCDIR)/nir/glsl_to_nir.cpp \
+ $(NIR_GENERATED_FILES)
# libglsl