[Mesa-dev] [PATCH crucible 3/3] Increase descriptor pool maxSets for miptree tests.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Sat Feb 24 01:29:30 UTC 2018


From: Bas Nieuwenhuizen <basni at chromium.org>

Some tests, e.g. func.miptree.r8g8b8a8-unorm.aspect-color.view-2d.levels01.array02.extent-512x512.upload-copy-with-draw.download-copy-with-draw
use 2 sets on each phase for 2 phases without deallocating in between,
so we need 4 sets.
---
 src/framework/test/t_phase_setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/framework/test/t_phase_setup.c b/src/framework/test/t_phase_setup.c
index 4a99d1e..199fea1 100644
--- a/src/framework/test/t_phase_setup.c
+++ b/src/framework/test/t_phase_setup.c
@@ -288,7 +288,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 = 2,
+        .maxSets = 4,
         .poolSizeCount = VK_DESCRIPTOR_TYPE_RANGE_SIZE,
         .pPoolSizes = pool_sizes
     };
-- 
2.16.1



More information about the mesa-dev mailing list