clover/spirv: allow Int64 Atomics for supported devices
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
committed by
Karol Herbst
parent
dba8bf1169
commit
acc0658942
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user