From 8f87d8af80578e19a14d295b46ee2b586a9d3dd9 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Thu, 30 Sep 2021 15:13:00 +0000 Subject: [PATCH] AdapterVk: Remove redundant VkPhysicalDevice limit check Fixed: dawn:1147 Change-Id: I8bbd46b82cad27174ccc7cae79a592ff992070a1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/65540 Commit-Queue: Austin Eng Auto-Submit: Corentin Wallez Reviewed-by: Austin Eng --- src/dawn_native/vulkan/AdapterVk.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/dawn_native/vulkan/AdapterVk.cpp b/src/dawn_native/vulkan/AdapterVk.cpp index c393e22cb4..eee984e41b 100644 --- a/src/dawn_native/vulkan/AdapterVk.cpp +++ b/src/dawn_native/vulkan/AdapterVk.cpp @@ -149,10 +149,6 @@ namespace dawn_native { namespace vulkan { return DAWN_INTERNAL_ERROR( "Insufficient Vulkan limits for maxDynamicStorageBuffersPerPipelineLayout"); } - if (limits.maxPerStageDescriptorSampledImages < kMaxSampledTexturesPerShaderStage) { - return DAWN_INTERNAL_ERROR( - "Insufficient Vulkan limits for maxDynamicStorageBuffersPerPipelineLayout"); - } if (limits.maxPerStageDescriptorSampledImages < kMaxSampledTexturesPerShaderStage) { return DAWN_INTERNAL_ERROR( "Insufficient Vulkan limits for maxSampledTexturesPerShaderStage");