wined3d: Recognize SM5 bfrev opcode.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
93f589df0d
commit
0dc4c3afb2
|
@ -5215,6 +5215,7 @@ static const SHADER_HANDLER shader_arb_instruction_handler_table[WINED3DSIH_TABL
|
|||
/* WINED3DSIH_AND */ NULL,
|
||||
/* WINED3DSIH_BEM */ pshader_hw_bem,
|
||||
/* WINED3DSIH_BFI */ NULL,
|
||||
/* WINED3DSIH_BFREV */ NULL,
|
||||
/* WINED3DSIH_BREAK */ shader_hw_break,
|
||||
/* WINED3DSIH_BREAKC */ shader_hw_breakc,
|
||||
/* WINED3DSIH_BREAKP */ NULL,
|
||||
|
|
|
@ -8581,6 +8581,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
|
|||
/* WINED3DSIH_AND */ shader_glsl_binop,
|
||||
/* WINED3DSIH_BEM */ shader_glsl_bem,
|
||||
/* WINED3DSIH_BFI */ NULL,
|
||||
/* WINED3DSIH_BFREV */ NULL,
|
||||
/* WINED3DSIH_BREAK */ shader_glsl_break,
|
||||
/* WINED3DSIH_BREAKC */ shader_glsl_breakc,
|
||||
/* WINED3DSIH_BREAKP */ shader_glsl_breakp,
|
||||
|
|
|
@ -45,6 +45,7 @@ static const char * const shader_opcode_names[] =
|
|||
/* WINED3DSIH_AND */ "and",
|
||||
/* WINED3DSIH_BEM */ "bem",
|
||||
/* WINED3DSIH_BFI */ "bfi",
|
||||
/* WINED3DSIH_BFREV */ "bfrev",
|
||||
/* WINED3DSIH_BREAK */ "break",
|
||||
/* WINED3DSIH_BREAKC */ "breakc",
|
||||
/* WINED3DSIH_BREAKP */ "breakp",
|
||||
|
|
|
@ -216,6 +216,7 @@ enum wined3d_sm4_opcode
|
|||
WINED3D_SM5_OP_DERIV_RTY_FINE = 0x7d,
|
||||
WINED3D_SM5_OP_GATHER4_C = 0x7e,
|
||||
WINED3D_SM5_OP_BFI = 0x8c,
|
||||
WINED3D_SM5_OP_BFREV = 0x8d,
|
||||
WINED3D_SM5_OP_SWAPC = 0x8e,
|
||||
WINED3D_SM5_OP_DCL_STREAM = 0x8f,
|
||||
WINED3D_SM5_OP_DCL_INPUT_CONTROL_POINT_COUNT = 0x93,
|
||||
|
@ -811,6 +812,7 @@ static const struct wined3d_sm4_opcode_info opcode_table[] =
|
|||
{WINED3D_SM5_OP_DERIV_RTY_FINE, WINED3DSIH_DSY_FINE, "f", "f"},
|
||||
{WINED3D_SM5_OP_GATHER4_C, WINED3DSIH_GATHER4_C, "f", "fRSf"},
|
||||
{WINED3D_SM5_OP_BFI, WINED3DSIH_BFI, "u", "uuuu"},
|
||||
{WINED3D_SM5_OP_BFREV, WINED3DSIH_BFREV, "u", "u"},
|
||||
{WINED3D_SM5_OP_SWAPC, WINED3DSIH_SWAPC, "ff", "uff"},
|
||||
{WINED3D_SM5_OP_DCL_STREAM, WINED3DSIH_DCL_STREAM, "", "f"},
|
||||
{WINED3D_SM5_OP_DCL_INPUT_CONTROL_POINT_COUNT, WINED3DSIH_DCL_INPUT_CONTROL_POINT_COUNT, "", "",
|
||||
|
|
|
@ -560,6 +560,7 @@ enum WINED3D_SHADER_INSTRUCTION_HANDLER
|
|||
WINED3DSIH_AND,
|
||||
WINED3DSIH_BEM,
|
||||
WINED3DSIH_BFI,
|
||||
WINED3DSIH_BFREV,
|
||||
WINED3DSIH_BREAK,
|
||||
WINED3DSIH_BREAKC,
|
||||
WINED3DSIH_BREAKP,
|
||||
|
|
Loading…
Reference in New Issue