23 Feb
2024
23 Feb
'24
5:58 a.m.
Conor McCarthy (@cmccarthy) commented about libs/vkd3d-shader/ir.c:
if ((ret = vsir_cfg_scan_loop(loop, block, header)) < 0) return ret; + + if (cfg->loops_by_header[header->label - 1]) + { + FIXME("Block %u is header to more than one loop, this is not implemented.", header->label); + return VKD3D_ERROR_NOT_IMPLEMENTED;
A call to `vkd3d_shader_parser_error()` with `VKD3D_SHADER_ERROR_VSIR_NOT_IMPLEMENTED` would be useful here. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/662#note_62389