Temporarily allow unsupported structures in PhysicalDevice::getFeatures2() A dEQP-Vk update added some unsupported enums to the pNext chain provided to vkGetPhysicalDeviceFeatures2(), which causes all tests to be declared unsupported. This CL temporarily replaces it by a warning in order to makes the tests pass again. Bug: b/216982034 Change-Id: Id19d77a44b9ee494fe0dec367bdbe8fc1c937c3f Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/67389 Commit-Queue: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com> Tested-by: Alexis Hétu <sugoi@google.com>
diff --git a/src/Vulkan/VkPhysicalDevice.cpp b/src/Vulkan/VkPhysicalDevice.cpp index dd648b4..fc5d601 100644 --- a/src/Vulkan/VkPhysicalDevice.cpp +++ b/src/Vulkan/VkPhysicalDevice.cpp
@@ -590,7 +590,8 @@ case VK_STRUCTURE_TYPE_MAX_ENUM: // TODO(b/176893525): This may not be legal. dEQP tests that this value is ignored. break; default: - UNSUPPORTED("curExtension->sType: %s", vk::Stringify(curExtension->sType).c_str()); + // TODO(b/216982034): Revert to UNSUPPORTED() when https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/3879 is fixed. + WARN("curExtension->sType: %s", vk::Stringify(curExtension->sType).c_str()); break; } curExtension = reinterpret_cast<VkBaseOutStructure *>(curExtension->pNext);