Skip to content

GPU: mirror placed 3D texture UAVs and preserve their aliases - #2

Open
Lkxex wants to merge 2 commits into
RecompLive:mainfrom
Lkxex:gpu/placed-volume-uav-recomplive
Open

Lkxex wants to merge 2 commits into
RecompLive:mainfrom
Lkxex:gpu/placed-volume-uav-recomplive

Conversation

@Lkxex

@Lkxex Lkxex commented Nov 25, 2026

Copy link
Copy Markdown

Placed unordered texture views can be dropped before reaching the host descriptor heap, leaving compute shaders without their texture destination. Mirror placed UAVs, including 3D textures, and restore the cached alias after a temporary target releases the same address.

Ports Kaivyyy's original change and ryotdev's address-reuse fix with commit attribution.

Windows diagnostics tests passed for placed 3D descriptor mirroring, GPU alias readback, and restoring the alias after address reuse. The in-game cloud appearance still needs a scene-matched comparison.

Kaivyyy and others added 2 commits November 26, 2026 00:37
Give placed unordered texture views (2D, array and 3D) a host unordered-access texture at their placed address (reusing an existing compatible target at that address when present), mirror them immediately when written into shader-visible heaps, and keep TARGETS_AT intact when placed shader views carry target flags so cross-format placed SRVs alias the shader-written texels on the GPU.

(cherry picked from commit d5c277e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants