feat(vulkan): re-enable GPU-Assisted Validation #19
No reviewers
Labels
No labels
claude:done
claude:in-progress
claude:ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Catcrafts/Crafter.Graphics!19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/issue-17"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Re-enables GPU-Assisted Validation (
VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT) in the Vulkan instance'sVkValidationFeaturesEXTenable list.Why
GPU-AV was disabled to work around a bug in SDK 1.4.341, whose GPU-AV null-deref'd on
descriptor_heappipelines (VK_PIPELINE_CREATE_2_DESCRIPTOR_HEAP_BIT_EXTwithlayout = VK_NULL_HANDLE) insidePipelineSubState::GetPipelineLayoutUnionon the first dispatch/draw — Vulkan-ValidationLayers#12103. LunarG fixed it in the following SDK release.The validation layer in this environment is now 1.4.350 (> 1.4.341), so the workaround is no longer needed and GPU-AV's shader-instrumentation / out-of-bounds checks can come back to aid debugging.
Verification
There is no automated test suite (
crafter-build testreports "No tests matched"), so this was verified by exercising the engine directly:HelloUIexample, which renders entirely through thedescriptor_heapcompute pipelines (ui-quads,ui-circles,ui-images,ui-text) — exactly the pipeline class that crashed the old GPU-AV.Screenshots
Resolves #17