projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a61ec
)
microsoft/compiler: preserve all metadata when upcast_phi doesn't make progress
author
Marcin Ślusarz
<marcin.slusarz@intel.com>
Tue, 10 Aug 2021 11:15:25 +0000
(13:15 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 11 Aug 2021 11:23:30 +0000
(11:23 +0000)
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12324>
src/microsoft/compiler/dxil_nir.c
patch
|
blob
|
history
diff --git
a/src/microsoft/compiler/dxil_nir.c
b/src/microsoft/compiler/dxil_nir.c
index
7cb20ae
..
e7ecaea
100644
(file)
--- a/
src/microsoft/compiler/dxil_nir.c
+++ b/
src/microsoft/compiler/dxil_nir.c
@@
-1116,6
+1116,8
@@
upcast_phi_impl(nir_function_impl *impl, unsigned min_bit_size)
if (progress) {
nir_metadata_preserve(impl, nir_metadata_block_index |
nir_metadata_dominance);
+ } else {
+ nir_metadata_preserve(impl, nir_metadata_all);
}
return progress;