wined3d: Recognize the SM4 ieq opcode.
This commit is contained in:
parent
a9e3058426
commit
7c6658f970
|
@ -4965,6 +4965,7 @@ static const SHADER_HANDLER shader_arb_instruction_handler_table[WINED3DSIH_TABL
|
|||
/* WINED3DSIH_FRC */ shader_hw_map2gl,
|
||||
/* WINED3DSIH_FTOI */ NULL,
|
||||
/* WINED3DSIH_IADD */ NULL,
|
||||
/* WINED3DSIH_IEQ */ NULL,
|
||||
/* WINED3DSIH_IF */ NULL /* Hardcoded into the shader */,
|
||||
/* WINED3DSIH_IFC */ shader_hw_ifc,
|
||||
/* WINED3DSIH_IGE */ NULL,
|
||||
|
|
|
@ -5023,6 +5023,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
|
|||
/* WINED3DSIH_FRC */ shader_glsl_map2gl,
|
||||
/* WINED3DSIH_FTOI */ NULL,
|
||||
/* WINED3DSIH_IADD */ NULL,
|
||||
/* WINED3DSIH_IEQ */ NULL,
|
||||
/* WINED3DSIH_IF */ shader_glsl_if,
|
||||
/* WINED3DSIH_IFC */ shader_glsl_ifc,
|
||||
/* WINED3DSIH_IGE */ NULL,
|
||||
|
|
|
@ -69,6 +69,7 @@ static const char * const shader_opcode_names[] =
|
|||
/* WINED3DSIH_FRC */ "frc",
|
||||
/* WINED3DSIH_FTOI */ "ftoi",
|
||||
/* WINED3DSIH_IADD */ "iadd",
|
||||
/* WINED3DSIH_IEQ */ "ieq",
|
||||
/* WINED3DSIH_IF */ "if",
|
||||
/* WINED3DSIH_IFC */ "ifc",
|
||||
/* WINED3DSIH_IGE */ "ige",
|
||||
|
|
|
@ -68,6 +68,7 @@ enum wined3d_sm4_opcode
|
|||
WINED3D_SM4_OP_FTOI = 0x1b,
|
||||
WINED3D_SM4_OP_IADD = 0x1e,
|
||||
WINED3D_SM4_OP_IF = 0x1f,
|
||||
WINED3D_SM4_OP_IEQ = 0x20,
|
||||
WINED3D_SM4_OP_IGE = 0x21,
|
||||
WINED3D_SM4_OP_IMUL = 0x26,
|
||||
WINED3D_SM4_OP_ITOF = 0x2b,
|
||||
|
@ -145,6 +146,7 @@ static const struct wined3d_sm4_opcode_info opcode_table[] =
|
|||
{WINED3D_SM4_OP_FTOI, WINED3DSIH_FTOI, 1, 1},
|
||||
{WINED3D_SM4_OP_IADD, WINED3DSIH_IADD, 1, 2},
|
||||
{WINED3D_SM4_OP_IF, WINED3DSIH_IF, 0, 1},
|
||||
{WINED3D_SM4_OP_IEQ, WINED3DSIH_IEQ, 1, 2},
|
||||
{WINED3D_SM4_OP_IGE, WINED3DSIH_IGE, 1, 2},
|
||||
{WINED3D_SM4_OP_IMUL, WINED3DSIH_IMUL, 2, 2},
|
||||
{WINED3D_SM4_OP_ITOF, WINED3DSIH_ITOF, 1, 1},
|
||||
|
|
|
@ -438,6 +438,7 @@ enum WINED3D_SHADER_INSTRUCTION_HANDLER
|
|||
WINED3DSIH_FRC,
|
||||
WINED3DSIH_FTOI,
|
||||
WINED3DSIH_IADD,
|
||||
WINED3DSIH_IEQ,
|
||||
WINED3DSIH_IF,
|
||||
WINED3DSIH_IFC,
|
||||
WINED3DSIH_IGE,
|
||||
|
|
Loading…
Reference in New Issue