[dawn][vk] Fix info gathering of VK_EXT_pipeline_robustness
It was wrongly gated on VK_KHR_descriptor_indexing instead of
VK_EXT_pipeline_robustness.
Bug: 435251399
Change-Id: Id3986eff803f4df0358919ff6ab67b3c176d7fba
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/258234
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
diff --git a/src/dawn/native/vulkan/VulkanInfo.cpp b/src/dawn/native/vulkan/VulkanInfo.cpp
index 04209e9..5ba9c98 100644
--- a/src/dawn/native/vulkan/VulkanInfo.cpp
+++ b/src/dawn/native/vulkan/VulkanInfo.cpp
@@ -356,7 +356,7 @@
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES);
}
- if (info.extensions[DeviceExt::DescriptorIndexing]) {
+ if (info.extensions[DeviceExt::PipelineRobustness]) {
featuresChain.Add(&info.pipelineRobustnessFeatures,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_FEATURES);
propertiesChain.Add(&info.pipelineRobustnessProperties,