mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
nir: Initialize nir_register::divergent
Fixes:c7fc44f9eb("nir/from_ssa: Respect and populate divergence information") Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14205> (cherry picked from commitdcc7b19cae)
This commit is contained in:
parent
2198488bbb
commit
709c5d1492
2 changed files with 2 additions and 1 deletions
|
|
@ -517,7 +517,7 @@
|
|||
"description": "nir: Initialize nir_register::divergent",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "c7fc44f9ebbe93f7aefc010aea4e13e29d0d67fd"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -154,6 +154,7 @@ reg_create(void *mem_ctx, struct exec_list *list)
|
|||
reg->num_components = 0;
|
||||
reg->bit_size = 32;
|
||||
reg->num_array_elems = 0;
|
||||
reg->divergent = false;
|
||||
|
||||
exec_list_push_tail(list, ®->node);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue