Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/dxil.c:
ins->handler_idx = VKD3DSIH_NOP;
}
+static enum vkd3d_shader_opcode sm6_dx_map_ma_op(enum dx_intrinsic_opcode op, const struct sm6_type *type) +{
- switch (op)
- {
case DX_FMA:
case DX_FMAD:
return (type->u.width == 64) ? VKD3DSIH_DFMA : VKD3DSIH_MAD;
So both these two can be used interchangeably for both float and doubles?