diff options
author | Jason Ekstrand <[email protected]> | 2016-06-13 12:47:19 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-06-20 12:02:45 -0700 |
commit | 202751fbb7e3d35c1aa84f325f862245dab67f6c (patch) | |
tree | 3a7b17967f2e58e12a7110c9a4c4fd9950a8643c /src/compiler/Makefile.sources | |
parent | 68e308d85355079ad93bd4e16cba164784740fdf (diff) |
nir: Add a pass for propagating invariant decorations
This pass is similar to propagate_invariance in the GLSL compiler. The
real "output" of this pass is that any algebraic operations which are
eventually consumed by an invariant variable get marked as "exact".
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.sources')
-rw-r--r-- | src/compiler/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources index 5c4ea65b5e9..0ff9b23e4c3 100644 --- a/src/compiler/Makefile.sources +++ b/src/compiler/Makefile.sources @@ -231,6 +231,7 @@ NIR_FILES = \ nir/nir_phi_builder.c \ nir/nir_phi_builder.h \ nir/nir_print.c \ + nir/nir_propagate_invariant.c \ nir/nir_remove_dead_variables.c \ nir/nir_repair_ssa.c \ nir/nir_search.c \ |