Mesa (vulkan): Remove more spirv2nir remnants

Jason Ekstrand jekstrand at kemper.freedesktop.org
Mon Apr 4 18:24:37 UTC 2016


Module: Mesa
Branch: vulkan
Commit: 8c8157bf6f529de881a38f603b873f1a867bf9b5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c8157bf6f529de881a38f603b873f1a867bf9b5

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Apr  4 11:24:48 2016 -0700

Remove more spirv2nir remnants

---

 src/compiler/glsl/.gitignore       |  1 -
 src/compiler/glsl/Makefile.am      | 13 ++-----------
 src/compiler/glsl/Makefile.sources | 16 ----------------
 3 files changed, 2 insertions(+), 28 deletions(-)

diff --git a/src/compiler/glsl/.gitignore b/src/compiler/glsl/.gitignore
index 6db4e73..09951ba 100644
--- a/src/compiler/glsl/.gitignore
+++ b/src/compiler/glsl/.gitignore
@@ -3,7 +3,6 @@ glsl_parser.cpp
 glsl_parser.h
 glsl_parser.output
 glsl_test
-spirv2nir
 subtest-cr/
 subtest-lf/
 subtest-cr-lf/
diff --git a/src/compiler/glsl/Makefile.am b/src/compiler/glsl/Makefile.am
index d6b1f9e..9954b81 100644
--- a/src/compiler/glsl/Makefile.am
+++ b/src/compiler/glsl/Makefile.am
@@ -66,7 +66,7 @@ check_PROGRAMS =					\
 	tests/sampler-types-test			\
 	tests/uniform-initializer-test
 
-noinst_PROGRAMS = glsl_compiler spirv2nir
+noinst_PROGRAMS = glsl_compiler
 
 tests_blob_test_SOURCES =				\
 	tests/blob_test.c
@@ -135,6 +135,7 @@ libglsl_la_SOURCES =					\
 	glsl_parser.h					\
 	$(LIBGLSL_FILES)
 
+
 glsl_compiler_SOURCES = \
 	$(GLSL_COMPILER_CXX_FILES)
 
@@ -144,16 +145,6 @@ glsl_compiler_LDADD =					\
 	$(top_builddir)/src/util/libmesautil.la		\
 	$(PTHREAD_LIBS)
 
-spirv2nir_SOURCES = \
-	standalone_scaffolding.cpp \
-	standalone_scaffolding.h \
-	nir/spirv2nir.c
-
-spirv2nir_LDADD =					\
-	libglsl.la					\
-	$(top_builddir)/src/libglsl_util.la		\
-	$(PTHREAD_LIBS)
-
 glsl_test_SOURCES = \
 	standalone_scaffolding.cpp \
 	test.cpp \
diff --git a/src/compiler/glsl/Makefile.sources b/src/compiler/glsl/Makefile.sources
index 970fab0..538196a 100644
--- a/src/compiler/glsl/Makefile.sources
+++ b/src/compiler/glsl/Makefile.sources
@@ -29,9 +29,7 @@ NIR_FILES = \
 	nir/nir_control_flow_private.h \
 	nir/nir_dominance.c \
 	nir/nir_from_ssa.c \
-	nir/nir_gather_info.c \
 	nir/nir_gs_count_vertices.c \
-	nir/nir_inline_functions.c \
 	nir/nir_intrinsics.c \
 	nir/nir_intrinsics.h \
 	nir/nir_instr_set.c \
@@ -40,10 +38,8 @@ NIR_FILES = \
 	nir/nir_lower_alu_to_scalar.c \
 	nir/nir_lower_atomics.c \
 	nir/nir_lower_clip.c \
-	nir/nir_lower_returns.c \
 	nir/nir_lower_global_vars_to_local.c \
 	nir/nir_lower_gs_intrinsics.c \
-        nir/nir_lower_indirect_derefs.c \
 	nir/nir_lower_load_const_to_scalar.c \
 	nir/nir_lower_locals_to_regs.c \
 	nir/nir_lower_idiv.c \
@@ -71,11 +67,8 @@ NIR_FILES = \
 	nir/nir_opt_peephole_select.c \
 	nir/nir_opt_remove_phis.c \
 	nir/nir_opt_undef.c \
-	nir/nir_phi_builder.c \
-	nir/nir_phi_builder.h \
 	nir/nir_print.c \
 	nir/nir_remove_dead_variables.c \
-	nir/nir_repair_ssa.c \
 	nir/nir_search.c \
 	nir/nir_search.h \
 	nir/nir_split_var_copies.c \
@@ -86,15 +79,6 @@ NIR_FILES = \
 	nir/nir_worklist.c \
 	nir/nir_worklist.h
 
-SPIRV_FILES = \
-	nir/spirv/nir_spirv.h \
-	nir/spirv/spirv_to_nir.c \
-	nir/spirv/vtn_alu.c \
-	nir/spirv/vtn_cfg.c \
-	nir/spirv/vtn_glsl450.c \
-	nir/spirv/vtn_private.h \
-	nir/spirv/vtn_variables.c
-
 # libglsl
 
 LIBGLSL_FILES = \




More information about the mesa-commit mailing list