From: Ari Suonpaa Date: Tue, 14 Dec 2021 05:27:53 +0000 (+0200) Subject: Remove vkDestroyBuffer X-Git-Tag: upstream/1.3.5~426^2~1^2~1^2~1^2~3^2^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=007e1dae815103f971dcd9ace474b65b72eb530f;p=platform%2Fupstream%2FVK-GL-CTS.git Remove vkDestroyBuffer A buffer allocation test that is supposed to fail a large allocation still tried to destroy the buffer even when an error was returned from the allocation. This is now removed. VK-GL-CTS Issue: 3192 Affects: dEQP-VK.api.buffer.basic.size_max_uint64 Components: Vulkan Change-Id: Ic36cb548ab2796b41e2a0b44d023e644b02a6d8c --- diff --git a/external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp b/external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp index 97cf062..fb314f4 100644 --- a/external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp +++ b/external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp @@ -691,8 +691,6 @@ tcu::TestStatus testOverlyLargeBuffer(Context& context, deUint64 bufferSize) return tcu::TestStatus::fail("Fail"); } - vk.destroyBuffer(vkDevice, rawBuffer, DE_NULL); - // check if one of the allowed errors was returned if ((result == VK_ERROR_OUT_OF_DEVICE_MEMORY) || (result == VK_ERROR_OUT_OF_HOST_MEMORY))