Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image extent zero length #1893

Merged
merged 2 commits into from
May 9, 2022
Merged

Image extent zero length #1893

merged 2 commits into from
May 9, 2022

Conversation

ryco117
Copy link
Contributor

@ryco117 ryco117 commented May 7, 2022

This PR was initially set to resolve issue #1892 for all examples. Namely, the goal was to ensure the examples did not crash when minimized. The cause of the crashes is that Windows sets the surface size to zero by zero when minimized. Coincidentally, the swapchain creation code was incorrectly validating VUID-VkSwapchainCreateInfoKHR-imageExtent-01689 by asserting that at least one dimension was non-zero.

  • Entries for Vulkano changelog:
    • Added new enum value SwapchainCreationError ::ImageExtentZeroLengthDimensions to be returned when at least one of the image extent's dimensions are zero.

@Rua Rua merged commit a893590 into vulkano-rs:master May 9, 2022
Rua added a commit that referenced this pull request May 9, 2022
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