Fix allocator in WSI swapchain render test

TriangleRenderer was using default device allocator with custom device
created with WSI extension enabled.

Bug: 28676093
Change-Id: Iad45ee21f1f0cfca09f24d68529a6862de5ba701
diff --git a/external/vulkancts/modules/vulkan/wsi/vktWsiSwapchainTests.cpp b/external/vulkancts/modules/vulkan/wsi/vktWsiSwapchainTests.cpp
index fef61dd..e5f7754 100644
--- a/external/vulkancts/modules/vulkan/wsi/vktWsiSwapchainTests.cpp
+++ b/external/vulkancts/modules/vulkan/wsi/vktWsiSwapchainTests.cpp
@@ -1468,17 +1468,18 @@
 	const DeviceHelper				devHelper					(context, instHelper.vki, *instHelper.instance, *surface);
 	const DeviceInterface&			vkd							= devHelper.vkd;
 	const VkDevice					device						= *devHelper.device;
+	SimpleAllocator					allocator					(vkd, device, getPhysicalDeviceMemoryProperties(instHelper.vki, devHelper.physicalDevice));
 	const VkSwapchainCreateInfoKHR	swapchainInfo				= getBasicSwapchainParameters(wsiType, instHelper.vki, devHelper.physicalDevice, *surface, desiredSize, 2);
 	const Unique<VkSwapchainKHR>	swapchain					(createSwapchainKHR(vkd, device, &swapchainInfo));
 	const vector<VkImage>			swapchainImages				= getSwapchainImages(vkd, device, *swapchain);
 
 	const TriangleRenderer			renderer					(vkd,
-																	 device,
-																	 context.getDefaultAllocator(),
-																	 context.getBinaryCollection(),
-																	 swapchainImages,
-																	 swapchainInfo.imageFormat,
-																	 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height));
+																 device,
+																 allocator,
+																 context.getBinaryCollection(),
+																 swapchainImages,
+																 swapchainInfo.imageFormat,
+																 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height));
 
 	const Unique<VkCommandPool>		commandPool					(createCommandPool(vkd, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, devHelper.queueFamilyIndex));