Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/dxil.c:
return VKD3D_ERROR; assert(ins->handler_idx != VKD3DSIH_INVALID);
if (record->attachment)
metadata_attachment_record_apply(record->attachment, ins, dst, sm6);
Since you mention that attachments only seem to make sense for `dx.op` intrinsics, maybe that could be validated?