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:
parent
ffe5114fed
commit
8f87d8af80
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue