Fix memoryTypeBits validation in memory.requirements.buffer
authorPyry Haulos <phaulos@google.com>
Thu, 12 Jan 2017 23:27:44 +0000 (15:27 -0800)
committerPyry Haulos <phaulos@google.com>
Thu, 12 Jan 2017 23:27:44 +0000 (15:27 -0800)
commit76c213e7c5e71c896c4f404179ac79ba59d50792
tree71b343cc0f5f1cc732834fa3b7dd79de3b3dbdd7
parentf6fec4bb68bf60b1625d3bd9571aac0081f41107
Fix memoryTypeBits validation in memory.requirements.buffer

Memory type bits returned for a subset of all possible usage flags must
be a superset of memory type bits returned for all usage flags case, not
the other way around.

Affects: dEQP-VK.memory.requirements.buffer.*

Vulkan CTS issue: 578

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