Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/dxil.c:
switch (block->id) { case CONSTANTS_BLOCK:
if (level < 2)
break;
I guess that what's happening here is that global constant blocks were already read as part of `sm6_parser_globals_init()`, so you mustn't do it again. If so, could you please write that in a comment?