wined3d: Recognize the SM4 lt opcode.
This commit is contained in:
parent
6d5aca61f3
commit
3687677427
|
@ -4706,6 +4706,7 @@ static const SHADER_HANDLER shader_arb_instruction_handler_table[WINED3DSIH_TABL
|
|||
/* WINED3DSIH_LOGP */ shader_hw_log_pow,
|
||||
/* WINED3DSIH_LOOP */ shader_hw_loop,
|
||||
/* WINED3DSIH_LRP */ shader_hw_lrp,
|
||||
/* WINED3DSIH_LT */ NULL,
|
||||
/* WINED3DSIH_M3x2 */ shader_hw_mnxn,
|
||||
/* WINED3DSIH_M3x3 */ shader_hw_mnxn,
|
||||
/* WINED3DSIH_M3x4 */ shader_hw_mnxn,
|
||||
|
|
|
@ -73,6 +73,7 @@ static const char *shader_opcode_names[] =
|
|||
/* WINED3DSIH_LOGP */ "logp",
|
||||
/* WINED3DSIH_LOOP */ "loop",
|
||||
/* WINED3DSIH_LRP */ "lrp",
|
||||
/* WINED3DSIH_LT */ "lt",
|
||||
/* WINED3DSIH_M3x2 */ "m3x2",
|
||||
/* WINED3DSIH_M3x3 */ "m3x3",
|
||||
/* WINED3DSIH_M3x4 */ "m3x4",
|
||||
|
|
|
@ -4748,6 +4748,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
|
|||
/* WINED3DSIH_LOGP */ shader_glsl_log,
|
||||
/* WINED3DSIH_LOOP */ shader_glsl_loop,
|
||||
/* WINED3DSIH_LRP */ shader_glsl_lrp,
|
||||
/* WINED3DSIH_LT */ NULL,
|
||||
/* WINED3DSIH_M3x2 */ shader_glsl_mnxn,
|
||||
/* WINED3DSIH_M3x3 */ shader_glsl_mnxn,
|
||||
/* WINED3DSIH_M3x4 */ shader_glsl_mnxn,
|
||||
|
|
|
@ -57,6 +57,7 @@ enum wined3d_sm4_opcode
|
|||
WINED3D_SM4_OP_IADD = 0x1e,
|
||||
WINED3D_SM4_OP_IGE = 0x21,
|
||||
WINED3D_SM4_OP_LOG = 0x2f,
|
||||
WINED3D_SM4_OP_LT = 0x31,
|
||||
WINED3D_SM4_OP_MIN = 0x33,
|
||||
WINED3D_SM4_OP_MAX = 0x34,
|
||||
WINED3D_SM4_OP_MOV = 0x36,
|
||||
|
@ -114,6 +115,7 @@ static const struct wined3d_sm4_opcode_info opcode_table[] =
|
|||
{WINED3D_SM4_OP_IADD, WINED3DSIH_IADD, 1, 2},
|
||||
{WINED3D_SM4_OP_IGE, WINED3DSIH_IGE, 1, 2},
|
||||
{WINED3D_SM4_OP_LOG, WINED3DSIH_LOG, 1, 1},
|
||||
{WINED3D_SM4_OP_LT, WINED3DSIH_LT, 1, 2},
|
||||
{WINED3D_SM4_OP_MIN, WINED3DSIH_MIN, 1, 2},
|
||||
{WINED3D_SM4_OP_MAX, WINED3DSIH_MAX, 1, 2},
|
||||
{WINED3D_SM4_OP_MOV, WINED3DSIH_MOV, 1, 1},
|
||||
|
|
|
@ -438,6 +438,7 @@ enum WINED3D_SHADER_INSTRUCTION_HANDLER
|
|||
WINED3DSIH_LOGP,
|
||||
WINED3DSIH_LOOP,
|
||||
WINED3DSIH_LRP,
|
||||
WINED3DSIH_LT,
|
||||
WINED3DSIH_M3x2,
|
||||
WINED3DSIH_M3x3,
|
||||
WINED3DSIH_M3x4,
|
||||
|
|
Loading…
Reference in New Issue