21 Feb
2024
21 Feb
'24
6:12 a.m.
Conor McCarthy (@cmccarthy) commented about libs/vkd3d-shader/ir.c:
return VKD3D_OK; }
+static void vsir_cfg_dump_dot(struct vsir_cfg *cfg) +{ + size_t i, j; + + TRACE("digraph cfg {\n"); + + for (i = 0; i < cfg->block_count; ++i) + { + struct vsir_block *block = &cfg->blocks[i]; + const char *shape; + + if (!block) + continue;
Is `block` ever `null` here? Looks like it shouldn't be. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/656#note_62156