[gtk+/wip/gbsneto/vulkan-wayland: 3/3] vulkanrender: Create descriptor pools with correct descriptor number
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/gbsneto/vulkan-wayland: 3/3] vulkanrender: Create descriptor pools with correct descriptor number
- Date: Fri, 6 Jan 2017 04:40:08 +0000 (UTC)
commit 3418978ffbf7077e044e31a5afb1f00837076246
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Jan 6 02:39:03 2017 -0200
vulkanrender: Create descriptor pools with correct descriptor number
gsk/gskvulkanrender.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gskvulkanrender.c b/gsk/gskvulkanrender.c
index 1a4a86a..1b487b1 100644
--- a/gsk/gskvulkanrender.c
+++ b/gsk/gskvulkanrender.c
@@ -121,7 +121,7 @@ gsk_vulkan_render_new (GskRenderer *renderer,
.pPoolSizes = (VkDescriptorPoolSize[1]) {
{
.type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
- .descriptorCount = 1
+ .descriptorCount = self->descriptor_pool_maxsets
}
}
},
@@ -403,7 +403,7 @@ gsk_vulkan_render_prepare_descriptor_sets (GskVulkanRender *self,
.pPoolSizes = (VkDescriptorPoolSize[1]) {
{
.type =
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
- .descriptorCount = 1
+ .descriptorCount = self->descriptor_pool_maxsets
}
}
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]