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 <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Corentin Wallez 2021-09-30 15:13:00 +00:00 committed by Dawn LUCI CQ
parent ffe5114fed
commit 8f87d8af80
1 changed files with 0 additions and 4 deletions

View File

@ -149,10 +149,6 @@ namespace dawn_native { namespace vulkan {
return DAWN_INTERNAL_ERROR( return DAWN_INTERNAL_ERROR(
"Insufficient Vulkan limits for maxDynamicStorageBuffersPerPipelineLayout"); "Insufficient Vulkan limits for maxDynamicStorageBuffersPerPipelineLayout");
} }
if (limits.maxPerStageDescriptorSampledImages < kMaxSampledTexturesPerShaderStage) {
return DAWN_INTERNAL_ERROR(
"Insufficient Vulkan limits for maxDynamicStorageBuffersPerPipelineLayout");
}
if (limits.maxPerStageDescriptorSampledImages < kMaxSampledTexturesPerShaderStage) { if (limits.maxPerStageDescriptorSampledImages < kMaxSampledTexturesPerShaderStage) {
return DAWN_INTERNAL_ERROR( return DAWN_INTERNAL_ERROR(
"Insufficient Vulkan limits for maxSampledTexturesPerShaderStage"); "Insufficient Vulkan limits for maxSampledTexturesPerShaderStage");