Remove unused check
authorBoris Zanin <boris.zanin@mobica.com>
Sun, 16 May 2021 18:04:30 +0000 (20:04 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 21 May 2021 09:09:51 +0000 (09:09 +0000)
commit7298b2a97eed12a03c44d8085474b0cd4427b628
tree11c5370e77eed06c5c58066e70f4f2f6ddb9bb8a
parentcb0ffba2b0998ab3095d1d8120214c2fb8c6fd14
Remove unused check

This check is useless here. Remove it.

Also a year later there was a specification issue #1222 "Should
requiresDedicatedAllocation imply requiresDedicatedAllocation?"

That clarified this question and specification now contains
following paragraph totally invalidating this check:

When the implementation sets requiresDedicatedAllocation to VK_TRUE,
it must also set prefersDedicatedAllocation to VK_TRUE.

Update tests:
 * dEQP-VK.memory.requirements.dedicated_allocation.buffer.*
 * dEQP-VK.memory.requirements.dedicated_allocation.image.*

Components: Vulkan

VK-GL-CTS issue: 391

VK-GL-CTS public issue: 267

Change-Id: I557d3c0fac752ec2f42db7e6dcd78787a0c69a26
external/vulkancts/modules/vulkan/memory/vktMemoryRequirementsTests.cpp