mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
nir/lower_double_ops: Rework the if (progress) tree
Fixes:d7d35a9522"nir/lower_doubles: Use the new NIR lowering..." Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5170> (cherry picked from commit111b0a6699)
This commit is contained in:
parent
2ddc061692
commit
1b95522f3d
2 changed files with 9 additions and 2 deletions
|
|
@ -1705,7 +1705,7 @@
|
|||
"description": "nir/lower_double_ops: Rework the if (progress) tree",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "d7d35a9522ea5b524732a8b730008d725b84abdf"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -736,7 +736,14 @@ nir_lower_doubles_impl(nir_function_impl *impl,
|
|||
* inlining.
|
||||
*/
|
||||
nir_opt_deref_impl(impl);
|
||||
}
|
||||
} else if (progress) {
|
||||
nir_metadata_preserve(impl, nir_metadata_block_index |
|
||||
nir_metadata_dominance);
|
||||
} else {
|
||||
#ifndef NDEBUG
|
||||
impl->valid_metadata &= ~nir_metadata_not_properly_reset;
|
||||
#endif
|
||||
}
|
||||
|
||||
return progress;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue