diff options
| author | 2021-07-04 00:34:53 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:40 -0400 | |
| commit | 11f04f1022d0820a1fdba38221ecd38f19d86d9e (patch) | |
| tree | c30e87d0a66b0100cb3f7b3ad2fb3bd769654a7a /src/shader_recompiler/backend/spirv/emit_context.cpp | |
| parent | vulkan_device: Add missing include algorithm (diff) | |
| download | yuzu-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/backend/spirv/emit_context.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.cpp b/src/shader_recompiler/backend/spirv/emit_context.cpp index 865f34291..2d29d8c14 100644 --- a/src/shader_recompiler/backend/spirv/emit_context.cpp +++ b/src/shader_recompiler/backend/spirv/emit_context.cpp | |||
| @@ -830,7 +830,7 @@ void EmitContext::DefineAttributeMemAccess(const Info& info) { | |||
| 830 | } | 830 | } |
| 831 | 831 | ||
| 832 | void EmitContext::DefineGlobalMemoryFunctions(const Info& info) { | 832 | void EmitContext::DefineGlobalMemoryFunctions(const Info& info) { |
| 833 | if (!info.uses_global_memory) { | 833 | if (!info.uses_global_memory || !profile.support_int64) { |
| 834 | return; | 834 | return; |
| 835 | } | 835 | } |
| 836 | using DefPtr = Id StorageDefinitions::*; | 836 | using DefPtr = Id StorageDefinitions::*; |