Bugfix: use SPARSE_BINDING flag in sparse_resources test
authorMaciej Jesionowski <maciej.jesionowski@mobica.com>
Fri, 7 Oct 2016 10:15:03 +0000 (12:15 +0200)
committerPyry Haulos <phaulos@google.com>
Fri, 14 Oct 2016 19:58:11 +0000 (15:58 -0400)
Affected tests:
- dEQP-VK.sparse_resources.buffer_sparse_residency.*

Fixes #508

Change-Id: I8aabcc66501e49138ff51925a07b47d13b4a5664

external/vulkancts/modules/vulkan/sparse_resources/vktSparseResourcesBufferSparseResidency.cpp

index 8a8beec0c45c14e1fe8e1d62ae95a71a98cbcac7..4f092273350c3ec8761bce03e912485a0103db14 100644 (file)
@@ -162,6 +162,7 @@ tcu::TestStatus BufferSparseResidencyInstance::iterate (void)
        {
                VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,   // VkStructureType              sType;
                DE_NULL,                                                                // const void*                  pNext;
+               VK_BUFFER_CREATE_SPARSE_BINDING_BIT |
                VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT,  // VkBufferCreateFlags  flags;
                m_bufferSize,                                                   // VkDeviceSize                 size;
                VK_BUFFER_USAGE_STORAGE_BUFFER_BIT |