Update ShaderPanicStrategy::DebugPrintfThenExit
documentation for Vulkan SDK changes.
#354
+65
−42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I noticed a few changes in the Vulkan Validation Layer documentation and ended up with these items:
multimodule
recommendation is no longer necessary (since Vulkan SDK 1.3.275.0):DEBUG_PRINTF_TO_STDOUT=1
is nowVK_LAYER_PRINTF_TO_STDOUT=1
(since Vulkan SDK 1.3.283.0)VK_KHR_shader_non_semantic_info
isn't required anymore (since Vulkan SDK 1.4.313.0)I'm not sure how happy I am with the result, but it tries the offer both an easy set of env vars
(
VK_LOADER_LAYERS_ENABLE=VK_LAYER_KHRONOS_validation VK_LAYER_PRINTF_ONLY_PRESET=1 VK_LAYER_PRINTF_TO_STDOUT=1
)and detailed explanations of all the moving parts, in case that doesn't suffice.
Honestly, we should probably have a separate document, and/or move this to
debug_printf!
(and merely refer to it from this setting), since users trying that out would also need this info.
As a sneak peek, this is a screenshot of the new docs (click to open its full size):
