GH-1345 Simplify Vulkan check logic - #1371
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. WalkthroughThe Vulkan support check no longer creates a probe instance or enumerates physical devices. With ChangesVulkan support detection
OpenXR initialization message
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: 🔵 Low · up to The change simplifies Vulkan/OpenXR startup checks without bypassing final device validation. If device acquisition fails after instance creation, a failed rendering context may retain partial Vulkan state until it is destroyed; this appears bounded but warrants owner awareness or follow-up cleanup. Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation The Vulkan change removes temporary Vulkan instance and physical-device initialization while retaining the volk availability check. This directly supports OpenXR device management and addresses issue
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
DaveTheEggman
left a comment
There was a problem hiding this comment.
LGTM from the rendering side
Resolves #1345
The checking logic I originally implemented did not take into account OpenXR which needs to handle it's own vulkan devices. This keeps some of the logic without initializing any vulkan devices.
Summary by CodeRabbit