From 900460e0916f552bd5eb9f8768532cf7d885e25d Mon Sep 17 00:00:00 2001 From: Pyry Haulos Date: Mon, 25 Jan 2016 12:15:35 -0800 Subject: [PATCH] Limit number of pipelines in object_management.max_concurrent See #250 --- .../vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp b/external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp index 140071c..50a3ecc 100644 --- a/external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp +++ b/external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp @@ -1345,7 +1345,8 @@ struct GraphicsPipeline static deUint32 getMaxConcurrent (Context&) { - return DEFAULT_MAX_CONCURRENT_OBJECTS; + // \todo [2016-01-26 pyry] Scale this based on pipeline memory usage and available system memory + return 256; } // \todo [2015-09-17 pyry] More interesting configurations @@ -1562,7 +1563,8 @@ struct ComputePipeline static deUint32 getMaxConcurrent (Context&) { - return DEFAULT_MAX_CONCURRENT_OBJECTS; + // \todo [2016-01-26 pyry] Scale this based on pipeline memory usage and available system memory + return 256; } // \todo [2015-09-17 pyry] More interesting configurations -- 2.7.4