Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl.c:
+static struct hlsl_ir_node *map_instr(const struct clone_instr_map *map, struct hlsl_ir_node *src) +{
- size_t i;
- if (!src)
return NULL;- for (i = 0; i < map->count; ++i)
- {
if (map->instrs[i].src == src)return map->instrs[i].dst;- }
- /* The block passed to hlsl_clone_block() should have been free of external
* references. */- assert(0);
`vkd3d_unreachable()`