Avoid using empty descriptor set layouts with libraries
authorRicardo Garcia <rgarcia@igalia.com>
Wed, 20 Jul 2022 09:57:38 +0000 (11:57 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 28 Jul 2022 20:27:53 +0000 (20:27 +0000)
commite01afce168b9ce6386b745ead4b2e38655b41457
tree44505a45884386dcec87e031fa29138519ef4ec8
parentaee005420388663a8c30d642e76d4c6b1b340eba
Avoid using empty descriptor set layouts with libraries

When creating pipeline libraries, the different pipeline layouts need to
be combined on a union of pipeline layouts, and sets not used for a
particular library can be VK_NULL_HANDLE when those pipeline layouts are
created with VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT.

Some of the pipeline library tests are using empty descriptor sets
instead of null handles for this case, breaking some drivers.

Affected tests:
dEQP-VK.pipeline.pipeline_library.graphics_library.*

VK-GL-CTS issue: 3584
Components: Vulkan

Change-Id: I6ee66f5d350bf586ac680f222ac5e426cb36a2e5
external/vulkancts/modules/vulkan/pipeline/vktPipelineLibraryTests.cpp