aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/clover/spirv/invocation.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/spirv/invocation.cpp b/src/gallium/state_trackers/clover/spirv/invocation.cpp
index c368e430de5..01ced45c13b 100644
--- a/src/gallium/state_trackers/clover/spirv/invocation.cpp
+++ b/src/gallium/state_trackers/clover/spirv/invocation.cpp
@@ -410,6 +410,12 @@ namespace {
return false;
}
break;
+ case SpvCapabilityInt64Atomics:
+ if (!dev.has_int64_atomics()) {
+ r_log += "Capability 'Int64Atomics' is not supported.\n";
+ return false;
+ }
+ break;
default:
r_log += "Capability '" + std::to_string(capability) +
"' is not supported.\n";