Skip to content

Fix swapchain creation always failing - #46

Merged
aqnuep merged 1 commit into
KhronosGroup:mainfrom
wzchu-lunarg:wzchu-swapchain-return-true
Aug 17, 2026
Merged

Fix swapchain creation always failing#46
aqnuep merged 1 commit into
KhronosGroup:mainfrom
wzchu-lunarg:wzchu-swapchain-return-true

Conversation

@wzchu-lunarg

Copy link
Copy Markdown
Contributor

InitSwapchainImageInfo seems to always return false, resulting in Device::CreateSwapchainKHR() always failing with VK_ERROR_INITIALIZATION_FAILED.

This was seen when using 41581ab with the vksccube example on KhronosGroup/VulkanSC-Tools@483d0df.

The change is what I assume is supposed to be the success path. This got the vksccube example running.

@CLAassistant

CLAassistant commented Aug 11, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@aqnuep aqnuep left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I'll also look into why this wasn't caught by our internal CI.

@aqnuep
aqnuep merged commit a05ecc2 into KhronosGroup:main Aug 17, 2026
15 checks 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.

3 participants