Skip to content

Fixup layer negotiation failure - #2026

Merged
charles-lunarg merged 4 commits into
KhronosGroup:mainfrom
charles-lunarg:fixup_layer_negotiation_failure
Sep 8, 2026
Merged

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

Conversation

@charles-lunarg

Copy link
Copy Markdown
Collaborator

No description provided.

@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.

@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.

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
Also skip layers that failed to load while enumerating device extensions.
@charles-lunarg
charles-lunarg force-pushed the fixup_layer_negotiation_failure branch from e1b2ff4 to 463abc5 Compare September 8, 2026 20:04
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 110578.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3748 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 110596.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3749 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3749 passed.

@charles-lunarg
charles-lunarg merged commit 3ef9e34 into KhronosGroup:main Sep 8, 2026
52 checks passed
@charles-lunarg
charles-lunarg deleted the fixup_layer_negotiation_failure branch September 8, 2026 23:53
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