wined3d: Recognize SM5 imm_atomic_xor 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
51b14bb503
commit
bde5cc79fb
|
@ -5300,6 +5300,7 @@ static const SHADER_HANDLER shader_arb_instruction_handler_table[WINED3DSIH_TABL
|
|||
/* WINED3DSIH_IMIN */ NULL,
|
||||
/* WINED3DSIH_IMM_ATOMIC_ALLOC */ NULL,
|
||||
/* WINED3DSIH_IMM_ATOMIC_CONSUME */ NULL,
|
||||
/* WINED3DSIH_IMM_ATOMIC_XOR */ NULL,
|
||||
/* WINED3DSIH_IMUL */ NULL,
|
||||
/* WINED3DSIH_INE */ NULL,
|
||||
/* WINED3DSIH_INEG */ NULL,
|
||||
|
|
|
@ -8963,6 +8963,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
|
|||
/* WINED3DSIH_IMIN */ shader_glsl_map2gl,
|
||||
/* WINED3DSIH_IMM_ATOMIC_ALLOC */ NULL,
|
||||
/* WINED3DSIH_IMM_ATOMIC_CONSUME */ NULL,
|
||||
/* WINED3DSIH_IMM_ATOMIC_XOR */ NULL,
|
||||
/* WINED3DSIH_IMUL */ shader_glsl_imul,
|
||||
/* WINED3DSIH_INE */ shader_glsl_relop,
|
||||
/* WINED3DSIH_INEG */ shader_glsl_unary_op,
|
||||
|
|
|
@ -141,6 +141,7 @@ static const char * const shader_opcode_names[] =
|
|||
/* WINED3DSIH_IMIN */ "imin",
|
||||
/* WINED3DSIH_IMM_ATOMIC_ALLOC */ "imm_atomic_alloc",
|
||||
/* WINED3DSIH_IMM_ATOMIC_CONSUME */ "imm_atomic_consume",
|
||||
/* WINED3DSIH_IMM_ATOMIC_XOR */ "imm_atomic_xor",
|
||||
/* WINED3DSIH_IMUL */ "imul",
|
||||
/* WINED3DSIH_INE */ "ine",
|
||||
/* WINED3DSIH_INEG */ "ineg",
|
||||
|
|
|
@ -255,6 +255,7 @@ enum wined3d_sm4_opcode
|
|||
WINED3D_SM5_OP_ATOMIC_IADD = 0xad,
|
||||
WINED3D_SM5_OP_IMM_ATOMIC_ALLOC = 0xb2,
|
||||
WINED3D_SM5_OP_IMM_ATOMIC_CONSUME = 0xb3,
|
||||
WINED3D_SM5_OP_IMM_ATOMIC_XOR = 0xb7,
|
||||
WINED3D_SM5_OP_SYNC = 0xbe,
|
||||
};
|
||||
|
||||
|
@ -901,6 +902,7 @@ static const struct wined3d_sm4_opcode_info opcode_table[] =
|
|||
{WINED3D_SM5_OP_ATOMIC_IADD, WINED3DSIH_ATOMIC_IADD, "U", "ii"},
|
||||
{WINED3D_SM5_OP_IMM_ATOMIC_ALLOC, WINED3DSIH_IMM_ATOMIC_ALLOC, "u", "U"},
|
||||
{WINED3D_SM5_OP_IMM_ATOMIC_CONSUME, WINED3DSIH_IMM_ATOMIC_CONSUME, "u", "U"},
|
||||
{WINED3D_SM5_OP_IMM_ATOMIC_XOR, WINED3DSIH_IMM_ATOMIC_XOR, "uU", "iu"},
|
||||
{WINED3D_SM5_OP_SYNC, WINED3DSIH_SYNC, "", "",
|
||||
shader_sm5_read_sync},
|
||||
};
|
||||
|
|
|
@ -667,6 +667,7 @@ enum WINED3D_SHADER_INSTRUCTION_HANDLER
|
|||
WINED3DSIH_IMIN,
|
||||
WINED3DSIH_IMM_ATOMIC_ALLOC,
|
||||
WINED3DSIH_IMM_ATOMIC_CONSUME,
|
||||
WINED3DSIH_IMM_ATOMIC_XOR,
|
||||
WINED3DSIH_IMUL,
|
||||
WINED3DSIH_INE,
|
||||
WINED3DSIH_INEG,
|
||||
|
|
Loading…
Reference in New Issue