diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-11-13 17:16:31 -0800 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-01-15 07:19:02 -0800 |
commit | d477beab077106d8e76a80298a685f16f4c4e85e (patch) | |
tree | 76f37d28a1b3e9a8a19aa201df8aa4393d96ed66 /src/glsl/Makefile.sources | |
parent | 615ba5ad043d93ea08a7a219046ef8eb523dba04 (diff) | |
download | external_mesa3d-d477beab077106d8e76a80298a685f16f4c4e85e.zip external_mesa3d-d477beab077106d8e76a80298a685f16f4c4e85e.tar.gz external_mesa3d-d477beab077106d8e76a80298a685f16f4c4e85e.tar.bz2 |
nir: Add a pass to lower local variable accesses to SSA values
This pass analizes all of the load/store operations and, when a variable is
never aliased (potentially used by an indirect operation), it is lowered
directly to an SSA value. This pass translates to SSA directly and does
not require any fixup by the original to-SSA pass.
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
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 84245bc..1d3b049 100644 --- a/src/glsl/Makefile.sources +++ b/src/glsl/Makefile.sources @@ -24,6 +24,7 @@ NIR_FILES = \ $(GLSL_SRCDIR)/nir/nir_lower_atomics.c \ $(GLSL_SRCDIR)/nir/nir_lower_samplers.cpp \ $(GLSL_SRCDIR)/nir/nir_lower_system_values.c \ + $(GLSL_SRCDIR)/nir/nir_lower_variables.c \ $(GLSL_SRCDIR)/nir/nir_lower_variables_scalar.c \ $(GLSL_SRCDIR)/nir/nir_lower_vec_to_movs.c \ $(GLSL_SRCDIR)/nir/nir_metadata.c \ |