mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-27 17:40:28 +00:00
Allow Float16/Int8 for Vulkan 1.0 (#2153)
This commit is contained in:
parent
ae1826154e
commit
0c172a6b74
@ -86,6 +86,8 @@ bool IsSupportOptionalVulkan_1_0(uint32_t capability) {
|
||||
case SpvCapabilityInt64Atomics:
|
||||
case SpvCapabilityTransformFeedback:
|
||||
case SpvCapabilityGeometryStreams:
|
||||
case SpvCapabilityFloat16:
|
||||
case SpvCapabilityInt8:
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
@ -291,6 +291,7 @@ const std::vector<std::string>& AllVulkan10Capabilities() {
|
||||
"DerivativeControl",
|
||||
"Geometry",
|
||||
"Tessellation",
|
||||
"Float16",
|
||||
"Float64",
|
||||
"Int64",
|
||||
"Int64Atomics",
|
||||
@ -307,6 +308,7 @@ const std::vector<std::string>& AllVulkan10Capabilities() {
|
||||
"CullDistance",
|
||||
"ImageCubeArray",
|
||||
"SampleRateShading",
|
||||
"Int8",
|
||||
"SparseResidency",
|
||||
"MinLod",
|
||||
"SampledCubeArray",
|
||||
@ -335,6 +337,7 @@ const std::vector<std::string>& AllVulkan11Capabilities() {
|
||||
"DerivativeControl",
|
||||
"Geometry",
|
||||
"Tessellation",
|
||||
"Float16",
|
||||
"Float64",
|
||||
"Int64",
|
||||
"Int64Atomics",
|
||||
@ -351,6 +354,7 @@ const std::vector<std::string>& AllVulkan11Capabilities() {
|
||||
"CullDistance",
|
||||
"ImageCubeArray",
|
||||
"SampleRateShading",
|
||||
"Int8",
|
||||
"SparseResidency",
|
||||
"MinLod",
|
||||
"SampledCubeArray",
|
||||
|
Loading…
Reference in New Issue
Block a user