projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ca153f
)
nir/lower_int64: mark all metadata as dirty
author
Karol Herbst
<kherbst@redhat.com>
Mon, 16 Jul 2018 12:58:31 +0000
(14:58 +0200)
committer
Karol Herbst
<kherbst@redhat.com>
Sat, 28 Jul 2018 17:59:28 +0000
(19:59 +0200)
v2: use nir_metadata_preserve
preserve metadata in case of !progress
Fixes: 074f5ba0b56b12ddaca81eac3d9ed19da7054297
"nir: Add a simple int64 lowering pass"
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/compiler/nir/nir_lower_int64.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_lower_int64.c
b/src/compiler/nir/nir_lower_int64.c
index 22f69ef4a60d55218e9882fd1a828a7cf8ddc9bb..0d7f165b4061c7c0581d590fcfd3eeaa76295b32 100644
(file)
--- a/
src/compiler/nir/nir_lower_int64.c
+++ b/
src/compiler/nir/nir_lower_int64.c
@@
-279,6
+279,9
@@
lower_int64_impl(nir_function_impl *impl, nir_lower_int64_options options)
}
}
+ if (progress)
+ nir_metadata_preserve(impl, nir_metadata_none);
+
return progress;
}