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

shader_debugprintf problems with new VulkanSDK 1.3.296 #1184

Open
SRSaunders opened this issue Oct 9, 2024 · 0 comments · May be fixed by #1187
Open

shader_debugprintf problems with new VulkanSDK 1.3.296 #1184

SRSaunders opened this issue Oct 9, 2024 · 0 comments · May be fixed by #1187

Comments

@SRSaunders
Copy link
Contributor

Two problems have arisen with the new SDK 1.3.296:

  1. The debug messages from the validation layer are now VVL-DEBUG-PRINTF instead of WARNING-DEBUG-PRINTF. This prevents the current callback logic from capturing the debug output values and the vertex output area is blank.
  2. I made an incorrect assumption about the value of instanceApiVersion returned from vkEnumerateInstanceVersion(). It seems that this value does not match the SDK version on all platforms (e.g. matches on macOS, but not on Windows). Given this failed assumption, the logic I put in place to automatically use VK_API_VERSION_1_1 for SDKs > 1.3.290 does not work properly on Windows. This causes the sample to bog down and run very slowly with SDK 1.3.296.

I will submit a PR to fix this (again). I'm sorry about the mistake I made in 2 above, but I could not have anticipated item 1. It seems the interaction with the Validation Layer is sensitive to change and breakage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant