Allow Float16/Int8 for Vulkan 1.0 (#2153)

This commit is contained in:
David Neto 2018-12-03 12:50:12 -05:00 committed by GitHub
parent ae1826154e
commit 0c172a6b74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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",