summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend
diff options
context:
space:
mode:
authorGravatar ameerj2021-07-04 00:34:53 -0400
committerGravatar ameerj2021-07-22 21:51:40 -0400
commit11f04f1022d0820a1fdba38221ecd38f19d86d9e (patch)
treec30e87d0a66b0100cb3f7b3ad2fb3bd769654a7a /src/shader_recompiler/frontend
parentvulkan_device: Add missing include algorithm (diff)
downloadyuzu-11f04f1022d0820a1fdba38221ecd38f19d86d9e.tar.gz
yuzu-11f04f1022d0820a1fdba38221ecd38f19d86d9e.tar.xz
yuzu-11f04f1022d0820a1fdba38221ecd38f19d86d9e.zip
shader: Ignore global memory ops on devices lacking int64 support
Diffstat (limited to 'src/shader_recompiler/frontend')
-rw-r--r--src/shader_recompiler/frontend/ir/opcodes.inc28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/shader_recompiler/frontend/ir/opcodes.inc b/src/shader_recompiler/frontend/ir/opcodes.inc
index 9af750283..d91098c80 100644
--- a/src/shader_recompiler/frontend/ir/opcodes.inc
+++ b/src/shader_recompiler/frontend/ir/opcodes.inc
@@ -71,20 +71,20 @@ OPCODE(UndefU32, U32,
71OPCODE(UndefU64, U64, ) 71OPCODE(UndefU64, U64, )
72 72
73// Memory operations 73// Memory operations
74OPCODE(LoadGlobalU8, U32, U64, ) 74OPCODE(LoadGlobalU8, U32, Opaque, )
75OPCODE(LoadGlobalS8, U32, U64, ) 75OPCODE(LoadGlobalS8, U32, Opaque, )
76OPCODE(LoadGlobalU16, U32, U64, ) 76OPCODE(LoadGlobalU16, U32, Opaque, )
77OPCODE(LoadGlobalS16, U32, U64, ) 77OPCODE(LoadGlobalS16, U32, Opaque, )
78OPCODE(LoadGlobal32, U32, U64, ) 78OPCODE(LoadGlobal32, U32, Opaque, )
79OPCODE(LoadGlobal64, U32x2, U64, ) 79OPCODE(LoadGlobal64, U32x2, Opaque, )
80OPCODE(LoadGlobal128, U32x4, U64, ) 80OPCODE(LoadGlobal128, U32x4, Opaque, )
81OPCODE(WriteGlobalU8, Void, U64, U32, ) 81OPCODE(WriteGlobalU8, Void, Opaque, U32, )
82OPCODE(WriteGlobalS8, Void, U64, U32, ) 82OPCODE(WriteGlobalS8, Void, Opaque, U32, )
83OPCODE(WriteGlobalU16, Void, U64, U32, ) 83OPCODE(WriteGlobalU16, Void, Opaque, U32, )
84OPCODE(WriteGlobalS16, Void, U64, U32, ) 84OPCODE(WriteGlobalS16, Void, Opaque, U32, )
85OPCODE(WriteGlobal32, Void, U64, U32, ) 85OPCODE(WriteGlobal32, Void, Opaque, U32, )
86OPCODE(WriteGlobal64, Void, U64, U32x2, ) 86OPCODE(WriteGlobal64, Void, Opaque, U32x2, )
87OPCODE(WriteGlobal128, Void, U64, U32x4, ) 87OPCODE(WriteGlobal128, Void, Opaque, U32x4, )
88 88
89// Storage buffer operations 89// Storage buffer operations
90OPCODE(LoadStorageU8, U32, U32, U32, ) 90OPCODE(LoadStorageU8, U32, U32, U32, )