GPU: barrier both host mirrors of depth-stencil UAVs #214

Open
avt0m4t48 wants to merge 1 commit from upstream-pr/214 into main
avt0m4t48 commented 2026-11-24 22:35:50 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-24T22:35:50Z.


Route a resource-specific UAV barrier to both host UAV textures that mirror a guest depth-stencil resource. The test obtains the actual host textures retained by the mirrored descriptors and checks the barrier targets. It also checks a global barrier and an ordinary texture, then records and closes the guest command list through its vtable. Refs #72 and #114.

The source-built Windows x64 test failed on the original translation because only the stencil target was present. The patched test and both command-list tests passed under Wine 10, VKD3D-Proton 3.1, DXVK 3.1.1 and Mesa llvmpipe. Build command: cargo test --locked --target x86_64-pc-windows-gnu -p victory-gpu --features blake3/pure --lib --no-run. The regression is list::tests::a_depth_stencil_uav_barrier_names_both_twins.

This run recorded commands without submitting them. Native Windows GPU execution and game behavior remain unverified. AI-assisted using Codex. Source-built inputs only.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6592785090 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/214). Originally posted by [avt0m4t48](https://github.com/avt0m4t48) on 2026-11-24T22:35:50Z. --- Route a resource-specific UAV barrier to both host UAV textures that mirror a guest depth-stencil resource. The test obtains the actual host textures retained by the mirrored descriptors and checks the barrier targets. It also checks a global barrier and an ordinary texture, then records and closes the guest command list through its vtable. Refs #72 and #114. The source-built Windows x64 test failed on the original translation because only the stencil target was present. The patched test and both command-list tests passed under Wine 10, VKD3D-Proton 3.1, DXVK 3.1.1 and Mesa llvmpipe. Build command: `cargo test --locked --target x86_64-pc-windows-gnu -p victory-gpu --features blake3/pure --lib --no-run`. The regression is `list::tests::a_depth_stencil_uav_barrier_names_both_twins`. This run recorded commands without submitting them. Native Windows GPU execution and game behavior remain unverified. AI-assisted using Codex. Source-built inputs only.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/214:upstream-pr/214'
git switch 'upstream-pr/214'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/214'
git switch 'upstream-pr/214'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/214'
git switch 'upstream-pr/214'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/214'
git switch 'main'
git merge --squash 'upstream-pr/214'
git switch 'main'
git merge --ff-only 'upstream-pr/214'
git switch 'main'
git merge 'upstream-pr/214'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!214
No description provided.