From 5f2b0a899a4e2464481668adc68263161c5e81f9 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Sun, 15 May 2022 22:20:24 +0300 Subject: [PATCH] [Vulkan] Fix TransientDescriptorPool ignoring the descriptor type --- src/xenia/ui/vulkan/transient_descriptor_pool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/ui/vulkan/transient_descriptor_pool.cc b/src/xenia/ui/vulkan/transient_descriptor_pool.cc index e471a6c6e..963738d80 100644 --- a/src/xenia/ui/vulkan/transient_descriptor_pool.cc +++ b/src/xenia/ui/vulkan/transient_descriptor_pool.cc @@ -118,7 +118,7 @@ VkDescriptorSet TransientDescriptorPool::Request( if (pages_writable_.empty()) { VkDescriptorPoolSize descriptor_pool_size; - descriptor_pool_size.type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; + descriptor_pool_size.type = descriptor_type_; descriptor_pool_size.descriptorCount = page_descriptor_count_; VkDescriptorPoolCreateInfo descriptor_pool_create_info; descriptor_pool_create_info.sType =