wined3d: Recognize the SM4 rsq opcode.
This commit is contained in:
parent
d6ffe00cd2
commit
7539cd5c85
|
@ -53,6 +53,7 @@ enum wined3d_sm4_opcode
|
||||||
WINED3D_SM4_OP_MOV = 0x36,
|
WINED3D_SM4_OP_MOV = 0x36,
|
||||||
WINED3D_SM4_OP_MUL = 0x38,
|
WINED3D_SM4_OP_MUL = 0x38,
|
||||||
WINED3D_SM4_OP_RET = 0x3e,
|
WINED3D_SM4_OP_RET = 0x3e,
|
||||||
|
WINED3D_SM4_OP_RSQ = 0x44,
|
||||||
WINED3D_SM4_OP_SINCOS = 0x4d,
|
WINED3D_SM4_OP_SINCOS = 0x4d,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -100,6 +101,7 @@ static const struct wined3d_sm4_opcode_info opcode_table[] =
|
||||||
{WINED3D_SM4_OP_MOV, WINED3DSIH_MOV, 1, 1},
|
{WINED3D_SM4_OP_MOV, WINED3DSIH_MOV, 1, 1},
|
||||||
{WINED3D_SM4_OP_MUL, WINED3DSIH_MUL, 1, 2},
|
{WINED3D_SM4_OP_MUL, WINED3DSIH_MUL, 1, 2},
|
||||||
{WINED3D_SM4_OP_RET, WINED3DSIH_RET, 0, 0},
|
{WINED3D_SM4_OP_RET, WINED3DSIH_RET, 0, 0},
|
||||||
|
{WINED3D_SM4_OP_RSQ, WINED3DSIH_RSQ, 1, 1},
|
||||||
{WINED3D_SM4_OP_SINCOS, WINED3DSIH_SINCOS, 1, 2},
|
{WINED3D_SM4_OP_SINCOS, WINED3DSIH_SINCOS, 1, 2},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue