Reduce the max number of concurrent pipeline cache objects
authorMaciej Jesionowski <maciej.jesionowski@amd.com>
Wed, 28 Jun 2017 09:51:46 +0000 (11:51 +0200)
committerMaciej Jesionowski <maciej.jesionowski@amd.com>
Wed, 28 Jun 2017 12:29:17 +0000 (14:29 +0200)
Previous maximum of 16k was excessive as these objects are expected to
have a significant size. Estimating their size based on allocation
callbacks may be not representative of the actual memory usage.

Affected tests:

dEQP-VK.api.object_management.max_concurrent.pipeline_cache

Components: Vulkan
VK-GL-CTS issue: 539

Change-Id: I17a868b993a55296417eee80dfa15c5559e4c20e

external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp

index b65821a..c07b8a1 100644 (file)
@@ -955,7 +955,7 @@ struct PipelineCache
 
        static deUint32 getMaxConcurrent (Context&)
        {
-               return DEFAULT_MAX_CONCURRENT_OBJECTS;
+               return 128;
        }
 
        struct Parameters