summaryrefslogtreecommitdiffstats
path: root/src/compiler/Makefile.sources
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-08-04 12:42:45 -0700
committerEric Anholt <eric@anholt.net>2016-08-19 13:11:36 -0700
commit9f1411d1ecc0029f4a6697849e657ac7b2a64f94 (patch)
tree8fda36563046086b56fb397f882e578cef8dc9d8 /src/compiler/Makefile.sources
parentc35f9792202c4450d19c5616e2a38b9e81e418fe (diff)
downloadexternal_mesa3d-9f1411d1ecc0029f4a6697849e657ac7b2a64f94.zip
external_mesa3d-9f1411d1ecc0029f4a6697849e657ac7b2a64f94.tar.gz
external_mesa3d-9f1411d1ecc0029f4a6697849e657ac7b2a64f94.tar.bz2
nir: Add an IO scalarizing pass using the intrinsic's first_component.
vc4 wants to have per-scalar IO load/stores so that dead code elimination can happen on a more granular basis, which it has been doing in the backend using a multiplication by 4 of the intrinsic's driver_location. We can represent it properly in the NIR using the first_component field, though. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/compiler/Makefile.sources')
-rw-r--r--src/compiler/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources
index a2dd234..cfb6359 100644
--- a/src/compiler/Makefile.sources
+++ b/src/compiler/Makefile.sources
@@ -203,6 +203,7 @@ NIR_FILES = \
nir/nir_lower_indirect_derefs.c \
nir/nir_lower_io.c \
nir/nir_lower_io_to_temporaries.c \
+ nir/nir_lower_io_to_scalar.c \
nir/nir_lower_io_types.c \
nir/nir_lower_passthrough_edgeflags.c \
nir/nir_lower_phis_to_scalar.c \