maintenance4: Add requirements matching tests
New test does few things:
* creates a bunch of VkBuffer and VkImage objects with the same
create infos and makes sure their alignments all match
* makes sure that memory requirements returned by
vkGetBufferCreateInfoMemoryRequirementsKHR are identical to those
that would be returned by vkGetBufferMemoryRequirements2 if it were
called with a VkBuffer created with the same VkBufferCreateInfo
values
* similarly, vkGetImageCreateInfoMemoryRequirementsKHR will report
the same memory requirements as vkGetImageMemoryRequirements2
would if called with a VkImage created with the supplied
VkImageCreateInfo
* makes sure that size memory requiremen for VkImage is not greater
than that of another VkImage created with a greater or equal extent
dimension specified in VkImageCreateInfo when all other creation
parameters are identical
* makes sure that size memory requiremen for VkBuffer is not greater
than that of another VkBuffer created with a greater or size
specified in VkImageCreateInfo when all other creation parameters
are identical
Components: Vulkan
VK-GL-CTS issue: 2996
Affets:
dEQP-VK.api.invariance.memory_requirements_matching
Change-Id: Ide74041ee82440af68458f684e2eae622f31cedf