mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
nir: Update num_blocks in sort_unstructured_blocks
Cc: mesa-stable Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33219>
This commit is contained in:
parent
6bd1d12137
commit
4ab5f0240a
1 changed files with 1 additions and 0 deletions
|
|
@ -939,6 +939,7 @@ nir_sort_unstructured_blocks(nir_function_impl *impl)
|
|||
assert(blocks[i].index == 0);
|
||||
assert(blocks[i].block == NULL);
|
||||
}
|
||||
impl->num_blocks = count;
|
||||
|
||||
foreach_list_typed_safe(nir_cf_node, node, node, &dead_blocks)
|
||||
cleanup_cf_node(node, impl);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue