15 Jan
2024
15 Jan
'24
10:31 a.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/dxil.c:
{ const struct sm6_block *block = function->blocks[i];
- /* Space for the label and terminator. */ - if (!sm6_parser_require_space(sm6, block->instruction_count + 2)) + /* Space for a branch, label and terminator. */ + if (!sm6_parser_require_space(sm6, block->instruction_count + block->phi_count + 3))
Does the "branch" here still applies? Now the first block is assumed to have a label too. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/491#note_57397