mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/sm4: Recognise the msad opcode.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0ca2444e9b
commit
fa17a170b1
@ -837,6 +837,7 @@ static const struct vkd3d_sm4_opcode_info opcode_table[] =
|
|||||||
{VKD3D_SM5_OP_DDIV, VKD3DSIH_DDIV, "d", "dd"},
|
{VKD3D_SM5_OP_DDIV, VKD3DSIH_DDIV, "d", "dd"},
|
||||||
{VKD3D_SM5_OP_DFMA, VKD3DSIH_DFMA, "d", "ddd"},
|
{VKD3D_SM5_OP_DFMA, VKD3DSIH_DFMA, "d", "ddd"},
|
||||||
{VKD3D_SM5_OP_DRCP, VKD3DSIH_DRCP, "d", "d"},
|
{VKD3D_SM5_OP_DRCP, VKD3DSIH_DRCP, "d", "d"},
|
||||||
|
{VKD3D_SM5_OP_MSAD, VKD3DSIH_MSAD, "u", "uuu"},
|
||||||
{VKD3D_SM5_OP_DTOI, VKD3DSIH_DTOI, "i", "d"},
|
{VKD3D_SM5_OP_DTOI, VKD3DSIH_DTOI, "i", "d"},
|
||||||
{VKD3D_SM5_OP_DTOU, VKD3DSIH_DTOU, "u", "d"},
|
{VKD3D_SM5_OP_DTOU, VKD3DSIH_DTOU, "u", "d"},
|
||||||
{VKD3D_SM5_OP_ITOD, VKD3DSIH_ITOD, "d", "i"},
|
{VKD3D_SM5_OP_ITOD, VKD3DSIH_ITOD, "d", "i"},
|
||||||
|
@ -350,6 +350,7 @@ enum vkd3d_sm4_opcode
|
|||||||
VKD3D_SM5_OP_DDIV = 0xd2,
|
VKD3D_SM5_OP_DDIV = 0xd2,
|
||||||
VKD3D_SM5_OP_DFMA = 0xd3,
|
VKD3D_SM5_OP_DFMA = 0xd3,
|
||||||
VKD3D_SM5_OP_DRCP = 0xd4,
|
VKD3D_SM5_OP_DRCP = 0xd4,
|
||||||
|
VKD3D_SM5_OP_MSAD = 0xd5,
|
||||||
VKD3D_SM5_OP_DTOI = 0xd6,
|
VKD3D_SM5_OP_DTOI = 0xd6,
|
||||||
VKD3D_SM5_OP_DTOU = 0xd7,
|
VKD3D_SM5_OP_DTOU = 0xd7,
|
||||||
VKD3D_SM5_OP_ITOD = 0xd8,
|
VKD3D_SM5_OP_ITOD = 0xd8,
|
||||||
|
@ -225,6 +225,7 @@ static const char * const shader_opcode_names[] =
|
|||||||
[VKD3DSIH_MOV ] = "mov",
|
[VKD3DSIH_MOV ] = "mov",
|
||||||
[VKD3DSIH_MOVA ] = "mova",
|
[VKD3DSIH_MOVA ] = "mova",
|
||||||
[VKD3DSIH_MOVC ] = "movc",
|
[VKD3DSIH_MOVC ] = "movc",
|
||||||
|
[VKD3DSIH_MSAD ] = "msad",
|
||||||
[VKD3DSIH_MUL ] = "mul",
|
[VKD3DSIH_MUL ] = "mul",
|
||||||
[VKD3DSIH_NE ] = "ne",
|
[VKD3DSIH_NE ] = "ne",
|
||||||
[VKD3DSIH_NOP ] = "nop",
|
[VKD3DSIH_NOP ] = "nop",
|
||||||
|
@ -328,6 +328,7 @@ enum vkd3d_shader_opcode
|
|||||||
VKD3DSIH_MOV,
|
VKD3DSIH_MOV,
|
||||||
VKD3DSIH_MOVA,
|
VKD3DSIH_MOVA,
|
||||||
VKD3DSIH_MOVC,
|
VKD3DSIH_MOVC,
|
||||||
|
VKD3DSIH_MSAD,
|
||||||
VKD3DSIH_MUL,
|
VKD3DSIH_MUL,
|
||||||
VKD3DSIH_NE,
|
VKD3DSIH_NE,
|
||||||
VKD3DSIH_NOP,
|
VKD3DSIH_NOP,
|
||||||
|
Loading…
Reference in New Issue
Block a user