buffer_view.create: Only create views after binding memory
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Dec 2015 23:04:45 +0000 (15:04 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Dec 2015 23:11:49 +0000 (15:11 -0800)
commit0387a57d79405750e00ecf4588ec515f8e6f955d
treec248297f183367f3ad56ffc2be952ab5e518b4e3
parent196c4e8d8dbb87290e1c2c13d3a98f4b8072d1d0
buffer_view.create: Only create views after binding memory

The only time the Vulkan API allows you to create a view after binding
memory is if you are using sparse memory.  However, sparse memory requires
a different binding paradigm.  Since we don't actually support sparse
binding in this test, we're probably better off just not claiming to for
now and fixing the binding problem.

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