Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/main
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / modules / vulkan / compute / vktComputeBasicComputeShaderTests.cpp
index 922e1db..8e95cc1 100644 (file)
@@ -3212,7 +3212,7 @@ tcu::TestStatus ConcurrentComputeInstance::iterate (void)
        // Create an input/output buffers
        const VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryProperties(instanceDriver, physicalDevice);
 
-       SimpleAllocator *allocator                                                              = new SimpleAllocator(vk, *logicalDevice, memoryProperties);
+       de::MovePtr<SimpleAllocator> allocator                                  = de::MovePtr<SimpleAllocator>(new SimpleAllocator(vk, *logicalDevice, memoryProperties));
        const VkDeviceSize bufferSizeBytes                                              = sizeof(deUint32) * numValues;
        const Buffer buffer1(vk, *logicalDevice, *allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible);
        const Buffer buffer2(vk, *logicalDevice, *allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible);