summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2016-10-21 14:14:49 -0700
committerNanley Chery <nanley.g.chery@intel.com>2016-10-21 14:24:33 -0700
commite1249ba1c3dc373656973c03a06b1c4f632ae650 (patch)
tree5137cb68701ecfdb0d668c2e42de6982c9b2de09
parent27509d94dae0a4b6348569313e45ad82908c6aee (diff)
framework/t_phase_setup: Increase descriptor pool set count by one
Fixes the following validation error on func.first (which allocates two sets), DS(ERROR): object: 0x1 type: 22 location: 1509 msgCode: 31: Unable to allocate 2 descriptorSets from pool 0x1. This pool only has 1 descriptorSets remaining. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
-rw-r--r--src/framework/test/t_phase_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/test/t_phase_setup.c b/src/framework/test/t_phase_setup.c
index b558b4d..b083b01 100644
--- a/src/framework/test/t_phase_setup.c
+++ b/src/framework/test/t_phase_setup.c
@@ -341,7 +341,7 @@ t_setup_descriptor_pool(void)
.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO,
.pNext = NULL,
.flags = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
- .maxSets = 1,
+ .maxSets = 2,
.poolSizeCount = VK_DESCRIPTOR_TYPE_RANGE_SIZE,
.pPoolSizes = pool_sizes
};