28 Feb
2024
28 Feb
'24
7:33 a.m.
Conor McCarthy (@cmccarthy) commented about libs/vkd3d-shader/ir.c:
+ } + } + + if (in_degrees[cfg->entry->label - 1] != 0) + { + ERR("Entry point has %u incoming forward edges.\n", in_degrees[cfg->entry->label - 1]); + ret = VKD3D_ERROR_INVALID_SHADER; + goto fail; + } + + vsir_block_list_init(&sorter.available_blocks); + + if ((ret = vsir_cfg_make_node_available(&sorter, cfg->entry)) < 0) + goto fail; + + while (sorter.available_blocks.count != 0) Is it possible for any input to infinite loop here? (I don't know).
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/672#note_62889