22 Feb
2024
22 Feb
'24
2:34 p.m.
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. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/668#note_62319