mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
libs/vkd3d-shader: Recognize nop instruction.
This commit is contained in:
parent
50df52427f
commit
9feb7a3956
@ -166,6 +166,7 @@ enum vkd3d_sm4_opcode
|
||||
VKD3D_SM4_OP_MOVC = 0x37,
|
||||
VKD3D_SM4_OP_MUL = 0x38,
|
||||
VKD3D_SM4_OP_NE = 0x39,
|
||||
VKD3D_SM4_OP_NOP = 0x3a,
|
||||
VKD3D_SM4_OP_NOT = 0x3b,
|
||||
VKD3D_SM4_OP_OR = 0x3c,
|
||||
VKD3D_SM4_OP_RESINFO = 0x3d,
|
||||
@ -932,6 +933,7 @@ static const struct vkd3d_sm4_opcode_info opcode_table[] =
|
||||
{VKD3D_SM4_OP_MOVC, VKD3DSIH_MOVC, "f", "uff"},
|
||||
{VKD3D_SM4_OP_MUL, VKD3DSIH_MUL, "f", "ff"},
|
||||
{VKD3D_SM4_OP_NE, VKD3DSIH_NE, "u", "ff"},
|
||||
{VKD3D_SM4_OP_NOP, VKD3DSIH_NOP, "", ""},
|
||||
{VKD3D_SM4_OP_NOT, VKD3DSIH_NOT, "u", "u"},
|
||||
{VKD3D_SM4_OP_OR, VKD3DSIH_OR, "u", "uu"},
|
||||
{VKD3D_SM4_OP_RESINFO, VKD3DSIH_RESINFO, "f", "iR"},
|
||||
|
@ -5498,6 +5498,8 @@ void vkd3d_dxbc_compiler_handle_instruction(struct vkd3d_dxbc_compiler *compiler
|
||||
case VKD3DSIH_SYNC:
|
||||
vkd3d_dxbc_compiler_emit_sync(compiler, instruction);
|
||||
break;
|
||||
case VKD3DSIH_NOP:
|
||||
break;
|
||||
default:
|
||||
FIXME("Unhandled instruction %#x.\n", instruction->handler_idx);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user