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

Added handling missing VK_EXT_swapchain_colorspace #1287

Merged
merged 7 commits into from
Dec 5, 2023

Conversation

naomipappe
Copy link
Contributor

  • Check whether the color space used by swapchain is supported by the replay device. Inform the user through log if it is not.
  • Introduce an option, that when enabled, will fallback to supported color space for swapchain.

Move the replacement of color space under a newly created option. If the option is not enabled, log the usage of a color space from unsupported extension.

Change-Id: I4e7dafb0b1deffb2700094e2b9f2ad201aab0b95
Fixing a wrong reference to colorspace fallback option

Change-Id: I149397465888c9eaa360a1938e003aa91880e64b
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 54099.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3317 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3317 passed.

Change-Id: Idacaad4bee8345d8a2404c2313c07575c32f8b63
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 55823.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3335 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3335 failed.

@naomipappe naomipappe marked this pull request as draft October 16, 2023 09:00
Remove colorspace extension if it is unsupported.

Change-Id: If7732ce1bee374a173597bece7f06f7b326db0a4
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 69794.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3416 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3416 passed.

@naomipappe naomipappe marked this pull request as ready for review October 25, 2023 07:54
@bradgrantham-lunarg bradgrantham-lunarg added the P1 Prevents an important capture from being replayed label Oct 30, 2023
Change-Id: I12de7a460b707f9a89bd301add624516c722a706
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 78323.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3456 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3456 passed.

@bradgrantham-lunarg
Copy link
Contributor

Hi, @naomipappe , do you have any thoughts about the feedback from @charles-lunarg ? Thanks!

@naomipappe
Copy link
Contributor Author

Yes, I fully agree with the comments about reducing the code duplication, and I am currently looking into how code generation is done in gfxreconstruct to implement the automatically generated map to avoid code rot.

automatic generation to be less susceptible to code rot

Change-Id: I1fe6c95804ede957139b2974766033b8a87c82b2
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 95516.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3598 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3598 passed.

Copy link
Contributor

@charles-lunarg charles-lunarg left a comment

Choose a reason for hiding this comment

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

Thank you for going through the somewhat laborious effort of making this generated rather than hardcoded. Makes the implementation a bit cleaner too I think, even if it involves more code.
I don't know if/when more swapchain formats will be added, but gfxr will handle it with ease now.

Python's set() doesn't maintain order, causing sporadic CI failures due to different
generator output. Simply sort the set before printing to maintain order.
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 95803.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3599 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3599 passed.

@charles-lunarg charles-lunarg merged commit 96dfba4 into LunarG:dev Dec 5, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Prevents an important capture from being replayed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants