Commit 5346cf50 by Chris Forbes

Accept ImageCubeArray SPIRV capability

VkPhysicalDeviceFeatures::imageCubeArray implies both the ImageCubeArray and SampledCubeArray SPIRV capabilities are supported. We had only accepted SampledCubeArray so far. Bug: b/144988970 Change-Id: I93fb93a95047f73c677de38757660ea1321a4654 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/39289Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Presubmit-Ready: Chris Forbes <chrisforbes@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 353f3314
......@@ -356,6 +356,7 @@ namespace sw
case spv::CapabilityInputAttachment: capabilities.InputAttachment = true; break;
case spv::CapabilitySampled1D: capabilities.Sampled1D = true; break;
case spv::CapabilityImage1D: capabilities.Image1D = true; break;
case spv::CapabilityImageCubeArray: capabilities.ImageCubeArray = true; break;
case spv::CapabilitySampledBuffer: capabilities.SampledBuffer = true; break;
case spv::CapabilitySampledCubeArray: capabilities.SampledCubeArray = true; break;
case spv::CapabilityImageBuffer: capabilities.ImageBuffer = true; break;
......
......@@ -489,6 +489,7 @@ namespace sw
bool InputAttachment : 1;
bool Sampled1D : 1;
bool Image1D : 1;
bool ImageCubeArray : 1;
bool SampledBuffer : 1;
bool SampledCubeArray : 1;
bool ImageBuffer : 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment