vulkan.h: V93 -- fine-grained memory binding synchronization. Bug# 13464
New names and behavior for QueueBind* APIs.
diff --git a/tests/image_tests.cpp b/tests/image_tests.cpp
index fd2ccf5..8238edd 100644
--- a/tests/image_tests.cpp
+++ b/tests/image_tests.cpp
@@ -247,8 +247,7 @@
ASSERT_VK_SUCCESS(err);
/* bind memory */
- VkQueue queue = m_device->graphics_queues()[0]->obj();
- err = vkQueueBindObjectMemory(queue, VK_OBJECT_TYPE_IMAGE, m_image, i, m_image_mem[i], 0);
+ err = vkBindObjectMemory(device(), VK_OBJECT_TYPE_IMAGE, m_image, i, m_image_mem[i], 0);
ASSERT_VK_SUCCESS(err);
}
}
@@ -257,8 +256,7 @@
{
VkResult err;
// All done with image memory, clean up
- VkQueue queue = m_device->graphics_queues()[0]->obj();
- ASSERT_VK_SUCCESS(vkQueueBindObjectMemory(queue, VK_OBJECT_TYPE_IMAGE, m_image, 0, VK_NULL_HANDLE, 0));
+ ASSERT_VK_SUCCESS(vkBindObjectMemory(device(), VK_OBJECT_TYPE_IMAGE, m_image, 0, VK_NULL_HANDLE, 0));
for (uint32_t i = 0 ; i < m_num_mem; i++) {
err = vkFreeMemory(device(), m_image_mem[i]);