Bind capture UAVs in the GPU comparison test #4018

Open
andrewpozdnakov7-jpg wants to merge 2 commits from upstream-pr/4018 into main
andrewpozdnakov7-jpg commented 2026-11-30 14:44:50 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-11-30T14:44:50Z.


CI status. The current red check stops at the same five Clippy findings as clean main. The standalone fix #4707 passed the full Windows check. Both strict Clippy steps also passed locally with #4707 and the current changes from #3833 and #4018 applied together. Verification

Problem

Upstream 456aec1 fixed the two missing card_pass arguments. The existing GPU comparison test still leaves capture UAV root slots 4 and 5 unset before its two dispatches. Both slots are part of the CARD_COMPARE root signature. D3D12 root signature requirements

Change

Bind two small fixture buffers to the capture slots before both dispatches. Capture remains disabled. The change is limited to seven lines in the existing test.

Verification

  • Current base 5fabb46, Windows WARP 1.0.22. The same synthetic test completed with the optional slots unbound and bound, and verified both the unchanged and the modified blocks in each run.
  • The exact updated test also passed on WARP with both slots bound. The test build adds a local WARP SDK shim and a marker confirming that execution reaches the readback assertions.
  • The D3D12 debug layer could not initialize on this host (DXGI_ERROR_SDK_COMPONENT_MISSING). The staged asset policy and git diff --check passed.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5567509837 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4018). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-30T14:44:50Z. --- > **CI status.** The current red check stops at the same five Clippy findings as [clean main](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46563306780/job/142355972539). The standalone fix [#4707](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4707) passed the full Windows check. Both strict Clippy steps also passed locally with #4707 and the current changes from #3833 and #4018 applied together. [Verification](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4707#issuecomment-7303481996) ## Problem Upstream [456aec1](https://github.com/trustno1-coder/VIctory-NVIDIA/commit/456aec17664f56b986329d7b14447696e6c7705d) fixed the two missing `card_pass` arguments. The existing GPU comparison test still leaves capture UAV root slots 4 and 5 unset before its two dispatches. Both slots are part of the `CARD_COMPARE` root signature. [D3D12 root signature requirements](https://learn.microsoft.com/en-us/windows/win32/direct3d12/using-a-root-signature) ## Change Bind two small fixture buffers to the capture slots before both dispatches. Capture remains disabled. The change is limited to seven lines in the existing test. ## Verification - Current base `5fabb46`, Windows WARP 1.0.22. The same synthetic test completed with the optional slots unbound and bound, and verified both the unchanged and the modified blocks in each run. - The exact updated test also passed on WARP with both slots bound. The test build adds a local WARP SDK shim and a marker confirming that execution reaches the readback assertions. - The D3D12 debug layer could not initialize on this host (`DXGI_ERROR_SDK_COMPONENT_MISSING`). The staged asset policy and `git diff --check` passed.
andrewpozdnakov7-jpg commented 2026-11-30 14:58:15 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-11-30T14:58:15Z.


The Windows CI job stopped at workspace Clippy before it reached this test. It reported an unused loop_caps field, an unused Shadow::ranged method, and an is_multiple_of lint in host.rs. The first two files have identical blobs on the base and PR. The third location is outside the changed test, and that line is identical on both revisions.

A local workspace Clippy run on clean release main c71899d also reported the two unused items and both missing card_pass arguments. The clean main CI job reports those same four errors. The missing arguments are the two compile errors this PR addresses. The targeted test ran and passed on WARP 1.0.22 with the fixture fix. The full CI run still needs the independent workspace lint fixes.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7282220025 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4018#issuecomment-7282220025). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-30T14:58:15Z. --- The [Windows CI job](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46442401759/job/141930678156) stopped at workspace Clippy before it reached this test. It reported an unused `loop_caps` field, an unused `Shadow::ranged` method, and an `is_multiple_of` lint in `host.rs`. The first two files have identical blobs on the base and PR. The third location is outside the changed test, and that line is identical on both revisions. A local workspace Clippy run on clean release main `c71899d` also reported the two unused items and both missing `card_pass` arguments. The [clean main CI job](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46436299889/job/141909075238) reports those same four errors. The missing arguments are the two compile errors this PR addresses. The targeted test ran and passed on WARP 1.0.22 with the fixture fix. The full CI run still needs the independent workspace lint fixes.
andrewpozdnakov7-jpg commented 2026-12-01 06:43:41 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-12-01T06:43:41Z.


Updated this PR on 5fabb46 at 86084fd. The upstream argument fix is already in 456aec1, so the remaining diff binds the two capture UAVs in the existing test.

WARP 1.0.22 verified the unchanged and modified blocks in the paired comparison with the slots unbound and bound. The exact PR head passed the bound case. Both slots are expected by the comparison root signature. D3D12 root signature requirements

If the fixture change is reused, please retain its Git author on a cherry-pick or rebase, or keep Co-authored-by: andrewpozdnakov7-jpg <[email protected]> if it is folded into another commit.

The new PR CI check stopped at Clippy, before tests. Its five diagnostics in host/font.rs, host/menu.rs, and host/panel.rs match clean main by file, line, and message.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7303202568 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4018#issuecomment-7303202568). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-12-01T06:43:41Z. --- Updated this PR on `5fabb46` at `86084fd`. The upstream argument fix is already in [456aec1](https://github.com/trustno1-coder/VIctory-NVIDIA/commit/456aec17664f56b986329d7b14447696e6c7705d), so the remaining diff binds the two capture UAVs in the existing test. WARP 1.0.22 verified the unchanged and modified blocks in the paired comparison with the slots unbound and bound. The exact PR head passed the bound case. Both slots are expected by the comparison root signature. [D3D12 root signature requirements](https://learn.microsoft.com/en-us/windows/win32/direct3d12/using-a-root-signature) If the fixture change is reused, please retain its Git author on a cherry-pick or rebase, or keep `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>` if it is folded into another commit. The [new PR CI check](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46592582791/job/142453795775) stopped at Clippy, before tests. Its five diagnostics in `host/font.rs`, `host/menu.rs`, and `host/panel.rs` match [clean main](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46563306780/job/142355972539) by file, line, and message.
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/4018:upstream-pr/4018'
git switch 'upstream-pr/4018'

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/4018'
git switch 'upstream-pr/4018'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/4018'
git switch 'upstream-pr/4018'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/4018'
git switch 'main'
git merge --squash 'upstream-pr/4018'
git switch 'main'
git merge --ff-only 'upstream-pr/4018'
git switch 'main'
git merge 'upstream-pr/4018'
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
trustno1-coder/VIctory-NVIDIA!4018
No description provided.