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

Fix validation errors related to HDR #431

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

res2k
Copy link
Contributor

@res2k res2k commented Jan 9, 2025

  • We're supposed to use VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT only if VK_EXT_color_space is available.
  • The stretch_pic renderpass references the surface format, so recreate the renderpass if the swapchain changed.

res2k added 3 commits January 9, 2025 15:07
Ie, use them if detected, but they're not strictly required.
Renderpass needs to be recreated when toggling HDR, so put it
into the init function that is called after a swapchain change.
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.

1 participant