summaryrefslogtreecommitdiffstats
path: root/src/glsl/Makefile.sources
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-11-13 12:40:59 -0800
committerEric Anholt <eric@anholt.net>2015-01-23 16:37:23 -0800
commit447ddfc1371b1ca6e8a9fe53ea8ea6bca6dbd795 (patch)
tree7421024cf9b49d6329841c7ef8f507f99f10a7dc /src/glsl/Makefile.sources
parentb2001278169b1f943c0bb6edb2d6985348beab4a (diff)
downloadexternal_mesa3d-447ddfc1371b1ca6e8a9fe53ea8ea6bca6dbd795.zip
external_mesa3d-447ddfc1371b1ca6e8a9fe53ea8ea6bca6dbd795.tar.gz
external_mesa3d-447ddfc1371b1ca6e8a9fe53ea8ea6bca6dbd795.tar.bz2
nir: Add nir_lower_alu_to_scalar.
This is the equivalent of brw_fs_channel_expressions.cpp, which I wanted for vc4. v2: Use the nir_src_for_ssa() helper, and another instance of nir_alu_src_copy(). v3: Drop the non-SSA support. All intended callers will have SSA-only ALU ops. v4: Use insert_before, drop stale bcsel/fcsel comment, drop now-unused unsupported() function, drop lower_context struct. v5: Completely rename the pass to nir_lower_alu_to_scalar(), add an assert about weird input_sizes[]. Reviewed-by: Jason Ekstrand <jason.ekstrand@iastate.edu>
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 5d476a1..96c4ec5 100644
--- a/src/glsl/Makefile.sources
+++ b/src/glsl/Makefile.sources
@@ -23,6 +23,7 @@ NIR_FILES = \
nir/nir_intrinsics.c \
nir/nir_intrinsics.h \
nir/nir_live_variables.c \
+ nir/nir_lower_alu_to_scalar.c \
nir/nir_lower_atomics.c \
nir/nir_lower_global_vars_to_local.c \
nir/nir_lower_locals_to_regs.c \