summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBilly Laws <blaws05@gmail.com>2022-11-19 16:53:19 +0100
committerBilly Laws <blaws05@gmail.com>2023-01-05 23:13:07 +0100
commit3f0985c7b01bbc5e7172bffb137f23385088aca6 (patch)
treec8a6f59a57c6c0f1b5831abbc38904fb8a30d8be /src
parentshader_recompiler: Add comparison operators to descriptor types (diff)
downloadyuzu-3f0985c7b01bbc5e7172bffb137f23385088aca6.tar
yuzu-3f0985c7b01bbc5e7172bffb137f23385088aca6.tar.gz
yuzu-3f0985c7b01bbc5e7172bffb137f23385088aca6.tar.bz2
yuzu-3f0985c7b01bbc5e7172bffb137f23385088aca6.tar.lz
yuzu-3f0985c7b01bbc5e7172bffb137f23385088aca6.tar.xz
yuzu-3f0985c7b01bbc5e7172bffb137f23385088aca6.tar.zst
yuzu-3f0985c7b01bbc5e7172bffb137f23385088aca6.zip
Diffstat (limited to 'src')
-rw-r--r--src/shader_recompiler/backend/spirv/spirv_emit_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
index eb1e3e0b6..f874622b8 100644
--- a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
+++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
@@ -544,7 +544,7 @@ void EmitContext::DefineCommonTypes(const Info& info) {
U16 = Name(TypeInt(16, false), "u16");
S16 = Name(TypeInt(16, true), "s16");
}
- if (info.uses_int64) {
+ if (info.uses_int64 && profile.support_int64) {
AddCapability(spv::Capability::Int64);
U64 = Name(TypeInt(64, false), "u64");
}