Repository navigation
Vulkan HAL: associate externally supplied density images with render targets - #5
Draft
matthargett wants to merge 3 commits into
Draft
matthargett wants to merge 3 commits into
matthargett wants to merge 3 commits into
Conversation
3 tasks
Member
Author
|
The PowerPC job caught an unconditional AtomicU64 in the texture handle. c5e0db1 keeps the atomic path on targets with 64-bit atomics and uses the same mutex fallback pattern as Vulkan resource identities elsewhere in this module. The previously failing ppc32 check now passes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
For clients that explicitly enable fragment density maps with non-subsampled images on their Vulkan device, support the density attachment in the render pass, select the matching pipeline variant, and match each application view to the same array slice of the map. Ordinary devices do not compile the extra variant. This is a HAL experiment, without changes to WebGPU or WGSL. Pipeline variant creation cost and a more general public HAL descriptor remain review topics.
On Quest 1 Vulkan, per-eye 16x16 checkerboards produced 240 horizontal edges in center and periphery at zero foveation. At maximum, each eye still had 240 central edges and zero peripheral edges; switching back restored all 240. Two-pass and single-pass stereo silhouette tests passed with and without depth. Measured before presentation on the projection color image, not on a final blit.
Implementation and device TODOs
AGENTS.md · Qualification and PR index. Fork branch instructions.