Treat DynamicLibrary library list as alternatives
authorRicardo Garcia <rgarcia@igalia.com>
Mon, 12 Dec 2022 09:17:21 +0000 (10:17 +0100)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Mon, 9 Jan 2023 11:16:20 +0000 (11:16 +0000)
commit885f2dc8a7ba04e2af7b7a4a0a6bb04d8c3c2e99
tree8a542c2c155c397f5626fca09a8496b6c7bd824f
parent5d3d58e8c623f7beabe1634b72458dbf2db396d5
Treat DynamicLibrary library list as alternatives

Instead of attempting to load all libraries provided, we should only
attempt to load one of them and stop when the first one succeeds.

Affects WSI tests in DRM envs.

Specifically affects:
dEQP-VK.api.device_drm_properties.drm_files_exist

Components: Framework, Vulkan
VK-GL-CTS issue: 4171
VK-GL-CTS public issue: 303

Change-Id: Ib86d25662ce0b783b37ebacb26a6944452d22fd2
external/vulkancts/modules/vulkan/api/vktApiDeviceDrmPropertiesTests.cpp
framework/common/tcuLibDrm.cpp
framework/delibs/decpp/deDynamicLibrary.cpp