summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/meson.build
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-01-26 12:38:57 +0100
committerSamuel Pitoiset <[email protected]>2018-03-16 09:50:31 +0100
commitaf355aaa07173abdc6861992f4c05ad334b9595b (patch)
treed3c9a735002509e699e26314200c81e2c63abf26 /src/compiler/nir/meson.build
parent9d0d806332a32cd60b4f53fe805650751001d169 (diff)
nir: add nir_opt_move_load_ubo() optimization pass
This pass moves load UBO operations just before their first use, loosely based on nir_opt_move_comparisons. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/nir/meson.build')
-rw-r--r--src/compiler/nir/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/meson.build b/src/compiler/nir/meson.build
index a70c236b958..289bb9ea782 100644
--- a/src/compiler/nir/meson.build
+++ b/src/compiler/nir/meson.build
@@ -160,6 +160,7 @@ files_libnir = files(
'nir_opt_intrinsics.c',
'nir_opt_loop_unroll.c',
'nir_opt_move_comparisons.c',
+ 'nir_opt_move_load_ubo.c',
'nir_opt_peephole_select.c',
'nir_opt_remove_phis.c',
'nir_opt_shrink_load.c',