[Vulkan] Fix TransientDescriptorPool ignoring the descriptor type
This commit is contained in:
@@ -118,7 +118,7 @@ VkDescriptorSet TransientDescriptorPool::Request(
|
|||||||
|
|
||||||
if (pages_writable_.empty()) {
|
if (pages_writable_.empty()) {
|
||||||
VkDescriptorPoolSize descriptor_pool_size;
|
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_;
|
descriptor_pool_size.descriptorCount = page_descriptor_count_;
|
||||||
VkDescriptorPoolCreateInfo descriptor_pool_create_info;
|
VkDescriptorPoolCreateInfo descriptor_pool_create_info;
|
||||||
descriptor_pool_create_info.sType =
|
descriptor_pool_create_info.sType =
|
||||||
|
|||||||
Reference in New Issue
Block a user