buffer_view.create: Separate usage and features bits
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Dec 2015 21:58:35 +0000 (13:58 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Dec 2015 22:26:44 +0000 (14:26 -0800)
commit250f87d49c49cd75b70d0b3bb1749d072bfda76b
tree8a3a13c2bf23b3b19d3a4ac7d629affce6034729
parent31237a2263c25bd60f3cf982334b5587ea49f744
buffer_view.create: Separate usage and features bits

In the Vulkan API, VkFormatFeatureFlags and VkBufferUsageFlags are separate
bitfields.  The tests were comparing BufferUsageFlags to the
FormatFeatureFlags that it got from the driver so it would try and create
invalid buffer views.  This commit splits these apart so the tests are now
properly querying the driver.

This fixes #108
external/vulkancts/modules/vulkan/api/vktApiBufferViewCreateTests.cpp