From: Maciej Jesionowski Date: Fri, 7 Oct 2016 10:15:03 +0000 (+0200) Subject: Bugfix: use SPARSE_BINDING flag in sparse_resources test X-Git-Tag: upstream/0.1.0~662^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2abb587d8276cf54e83facf427bde5a5695c403f;p=platform%2Fupstream%2FVK-GL-CTS.git Bugfix: use SPARSE_BINDING flag in sparse_resources test Affected tests: - dEQP-VK.sparse_resources.buffer_sparse_residency.* Fixes #508 Change-Id: I8aabcc66501e49138ff51925a07b47d13b4a5664 --- diff --git a/external/vulkancts/modules/vulkan/sparse_resources/vktSparseResourcesBufferSparseResidency.cpp b/external/vulkancts/modules/vulkan/sparse_resources/vktSparseResourcesBufferSparseResidency.cpp index 8a8beec0c..4f0922733 100644 --- a/external/vulkancts/modules/vulkan/sparse_resources/vktSparseResourcesBufferSparseResidency.cpp +++ b/external/vulkancts/modules/vulkan/sparse_resources/vktSparseResourcesBufferSparseResidency.cpp @@ -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 |