Skip to content

return VkResult from update_meta_layer_extensions_from_component_layers - #2012

Open
aizu-m wants to merge 1 commit into
KhronosGroup:mainfrom
aizu-m:meta-layer-ext-oom-propagation
Open

return VkResult from update_meta_layer_extensions_from_component_layers#2012
aizu-m wants to merge 1 commit into
KhronosGroup:mainfrom
aizu-m:meta-layer-ext-oom-propagation

Conversation

@aizu-m

@aizu-m aizu-m commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

the function is declared bool but returns res (a VkResult), and verify_all_meta_layers stores that return in a VkResult and tests it against VK_ERROR_OUT_OF_HOST_MEMORY, so the bool step narrows -1 to 1 and the out-of-memory never propagates; return VkResult and capture the device-extension add result so it does.

@ci-tester-lunarg

Copy link
Copy Markdown

Author aizu-m not on autobuild list. Waiting for curator authorization before starting CI build.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown

Author aizu-m not on autobuild list. Waiting for curator authorization before starting CI build.

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.

2 participants