projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f037bd
)
nir: Properly invalidate metadata in nir_lower_vec_to_movs().
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 3 Nov 2015 05:38:56 +0000
(21:38 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 4 Nov 2015 01:06:48 +0000
(17:06 -0800)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
Cc: mesa-stable@lists.freedesktop.org
src/glsl/nir/nir_lower_vec_to_movs.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir_lower_vec_to_movs.c
b/src/glsl/nir/nir_lower_vec_to_movs.c
index c08b721dae454dfed562ed14c42a96ed86c3f201..736a66c863993c3aa2203dbc0d8f62fcd96c013d 100644
(file)
--- a/
src/glsl/nir/nir_lower_vec_to_movs.c
+++ b/
src/glsl/nir/nir_lower_vec_to_movs.c
@@
-288,6
+288,11
@@
nir_lower_vec_to_movs_impl(nir_function_impl *impl)
nir_foreach_block(impl, lower_vec_to_movs_block, &state);
+ if (state.progress) {
+ nir_metadata_preserve(impl, nir_metadata_block_index |
+ nir_metadata_dominance);
+ }
+
return state.progress;
}