Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/tpf.c:
assert(dst_idx < ARRAY_SIZE(instr.dsts)); sm4_dst_from_node(&instr.dsts[dst_idx], dst);
- assert(1 - dst_idx >= 0);
Well, I would have replaced this with the proper check... But ok, I think we've already discussed assertions enough.