Skip to content

Fixup layer negotiation failure - #2026

Open
charles-lunarg wants to merge 4 commits into
KhronosGroup:mainfrom
charles-lunarg:fixup_layer_negotiation_failure
Open

Fixup layer negotiation failure#2026
charles-lunarg wants to merge 4 commits into
KhronosGroup:mainfrom
charles-lunarg:fixup_layer_negotiation_failure

Conversation

@charles-lunarg

Copy link
Copy Markdown
Collaborator

No description provided.

If the loader calls vkNegotiateLoaderLayerInterfaceVersion and it fails
either due to the version being unsupported or the call returned an
error code, skip the layer rather than trying to use a lower
interface version.
Add error enums for when negotiation of the interface version fails and
when the loader cannot load vkGetInstanceProcAddr.
vkEnumerateDeviceLayerProperties currently returns all layers that are
in the app_activated_layer_list, regardless of whether they successfully
loaded the binary or not. This change makes it so that only layers with
the lib_status of  'success' and 'not loaded' (which corresponds to meta
layers), will be enumerated
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 104155.

@charles-lunarg charles-lunarg linked an issue Sep 3, 2026 that may be closed by this pull request
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 104184.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3745 running.

Also skip layers that failed to load while enumerating device extensions.
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 104239.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3746 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3746 passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Layer interface version negotiation does not work as expected

2 participants