Restore the default pipeline layout creation flag
authorPiers Daniell <pdaniell@nvidia.com>
Tue, 5 Apr 2022 19:14:42 +0000 (13:14 -0600)
committerMatthew Netsch <mnetsch@qti.qualcomm.com>
Fri, 8 Apr 2022 19:57:10 +0000 (19:57 +0000)
commit7930ea82d0250fea5e114904089e9a57bec65e09
tree6f756025e07f8d9f9a9efd1d6855d8a14f845898
parent11ceae0c741f55200b6b6b9d22586c2e2dcc2f8a
Restore the default pipeline layout creation flag

Setting the VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT flag
in the core framework makePipelineLayout() function means that all
tests, even tests that aren't testing VK_EXT_graphics_pipeline_library,
are creating pipeline layouts optimized for independent
partial pipelines.

This flag should only be set when actually testing that feature
since it can be less optimal than the regular pipeline layout,
and is not the default all applications currently use.

This CL restores the default flag and updates the tests that
need it to override the default flag.

Affects:

dEQP-VK.*
dEQP-VK.pipeline.pipeline_library.graphics_library.*

Components: Vulkan

VK-GL-CTS issue: 3609

Change-Id: Iabc8643707f03878426c9bbe87bc0c9ee856bfb3
external/vulkancts/framework/vulkan/vkObjUtil.cpp
external/vulkancts/framework/vulkan/vkObjUtil.hpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineLibraryTests.cpp