[BUNDLE] World-run stack from Impre-visible's report: 12 PRs (#1077 #1175 #523 #530 #1040 #1406 #1392 #1407 #1516 #1388 #1189 #542), stacked on #1511 #1631

Closed
MamaLeVrai wants to merge 134 commits from upstream-pr/1632 into main
MamaLeVrai commented 2026-11-24 20:07:00 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T20:07:00Z.


One PR in place of 12. The list of PRs that Impre-visible ran on top of #1511 on Linux with a GTX 1660 (their comment on #1511), built as one branch and checked: root UAVs (#1077, #1175, which carry #489 and #302 inside their own commits), the Linux build (#523), a render-target diagnostic (#530), typed-texture flag fixes (#1040, #1406), a UAV barrier after a dropped dispatch (#1392), lane masks read as numbers (#1407), typed-buffer components (#1516), 64-bit command-list waits (#1388), fence signaling (#1189) and offsets below 2 GiB (#542). In their runs the world loaded with 331 to 366 compute pipelines made, none refused by the host and no device removal. Every head is merged unchanged onto main plus #1511, and the result is built and tested together.

For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a [BUNDLE] PR. The re-verification commands are below, so one run covers all of it.

What is inside

PR Author Head Title
#1077 DuarttBR 873548f2d Shaders, GPU: root UAVs (stacked on #489)
#1175 Castyan bfe5d2dab Shaders: verify compute writes through a spilled root UAV
#523 spidercraft 001226617 Build: compile and test the workspace on Linux again
#530 AKA0GHOST 951ceb1eb GPU diagnostics: show one of the title's render targets in the window
#1040 gabrielcruzg3 08e4c8975 GPU: drop unsupported UAV/RT flags on typed host textures and guard RTV creation
#1406 ESAT586 87b42ecd1 GPU: fix NULL/UNKNOWN SRV/UAVs on promoted-typeless textures and MSAA/array/3D NULL RTV/DSVs
#1392 kunalkhude99 9687a1958 gpu: emit UAV barrier after a dropped compute dispatch
#1407 marquezinii a8557570a Shaders: lane masks holding lanes elsewhere, and mask joins, read as numbers
#1516 venglov 63be4e048 Shaders: zero missing typed-buffer components
#1388 wbkepler 9d84135fa GPU: honor command-list 64-bit memory waits without blocking submissions (#700)
#1189 geiyiliyabumo 370c61bff GPU: make fence signaling monotonic, clamp sampler enums, and add unit tests
#542 gingertonik 31a4692a1 Shaders: keep buffer offsets below 2 GiB (NVIDIA + vkd3d-proton world device loss)

Changes made while bundling

No PR was edited. Everything below is a separate commit or the body of a merge commit; the first two items are what was needed for #1077 and #1175 to build on the stack at all (they merge without a conflict and do not compile, which a merge check does not show).

  1. #1077 on the stack: it pushes a root UAV's dynamic slot on self.dynamic, which #1056 (in #1319) replaced by list.keep_dynamic; draw.rs now calls list.keep_dynamic(heap, index, 1), the one-line change Impre-visible described. Three tests that other PRs of the stack add build a HostShader without #1077's new root_uavs field (shader.rs, root_view_tests.rs, lane_mask_tests.rs); each has the field.
  2. #1516: both it and #1175 add a test at the end of valu_tests.rs; both are kept.
  3. #542 (offsets below 2 GiB): it bounds a scalar raw-view load with bound_raw_offset for the SRV case it handles. The stack has one raw-view branch for an SRV range, a UAV range or a heap buffer (#1015, #1055), so the bound is applied to that branch, which keeps the stack's choice of view. Two things in #542's own tests did not compile on the stack: resource::track takes the structured program as a fourth argument (the arity of #801), and the HostShader literal lacks root_uavs.
  4. #1040: its test host_texture_drops_unsupported_uav_flag_for_b5g5r5a1 assumed that every adapter refuses a typed UAV on B5G5R5A1_UNORM; host_texture only drops what the adapter refuses, and an RX 6950 XT accepts it, so the test failed on main plus #1040 alone. It now asks the adapter (CheckFeatureSupport) and expects the flag kept or dropped accordingly, for B5G5R5A1 (UAV and render target) and B4G4R4A4 (render target).

#302 and #489: #1077 is stacked on #489, itself on #302, and its branch carries their changes under other commit ids. This bundle therefore does not mark #302 and #489 as merged.

Left out, and why

  • Impre-visible's lists also had #1056 (already in #1319), #1281, #1198, #1176, #1237 and #523/#530/#1040/#1406/#542 in different orders; #1281, #1198, #1176 and #1237 are not here.
  • What this does not show: Impre-visible's numbers are from their runs of a list close to this one on Linux with Wine; this branch itself was only checked by clippy and the tests here (RX 6950 XT, WARP). Their remaining reasons on their last tree were a whole-wave section step not followed (16 compute shaders), an address not from a root parameter (15), an address from a root parameter that is no address (8), structured buffers of unknown stride (2) and LDS writes of bytes or halves (2), and the final image was still dark.

Verification

Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain):

Check Result
cargo clippy --workspace --all-targets --locked -- -D warnings clean
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings clean
cargo test --workspace --locked 442 passed, 0 failed, 6 ignored (main: 342 passed, 6 ignored)

The title was not run, so this says nothing about in-game effect. No game data is used or committed.

Re-verify in one go

git fetch https://github.com/MamaLeVrai/VIctory.git bundle/world-stack
git checkout FETCH_HEAD
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
cargo test --workspace --locked

To confirm that no component PR moved since this was built, compare each Head above with gh pr view <n> --repo Marvisak/VIctory --json headRefOid. If one differs, the branch needs a rebuild: merge the new head in the same order.

If this lands

The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above.

AI-assisted (Claude Code); no game data.

🤖 Generated with Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:issue:6590397683 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1632). Originally posted by [MamaLeVrai](https://github.com/MamaLeVrai) on 2026-11-24T20:07:00Z. --- **One PR in place of 12.** The list of PRs that Impre-visible ran on top of #1511 on Linux with a GTX 1660 (their comment on #1511), built as one branch and checked: root UAVs (#1077, #1175, which carry #489 and #302 inside their own commits), the Linux build (#523), a render-target diagnostic (#530), typed-texture flag fixes (#1040, #1406), a UAV barrier after a dropped dispatch (#1392), lane masks read as numbers (#1407), typed-buffer components (#1516), 64-bit command-list waits (#1388), fence signaling (#1189) and offsets below 2 GiB (#542). In their runs the world loaded with 331 to 366 compute pipelines made, none refused by the host and no device removal. Every head is merged unchanged onto `main` plus #1511, and the result is built and tested together. > For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a `[BUNDLE]` PR. The re-verification commands are below, so one run covers all of it. ## What is inside | PR | Author | Head | Title | |---|---|---|---| | #1077 | DuarttBR | `873548f2d` | Shaders, GPU: root UAVs (stacked on #489) | | #1175 | Castyan | `bfe5d2dab` | Shaders: verify compute writes through a spilled root UAV | | #523 | spidercraft | `001226617` | Build: compile and test the workspace on Linux again | | #530 | AKA0GHOST | `951ceb1eb` | GPU diagnostics: show one of the title's render targets in the window | | #1040 | gabrielcruzg3 | `08e4c8975` | GPU: drop unsupported UAV/RT flags on typed host textures and guard RTV creation | | #1406 | ESAT586 | `87b42ecd1` | GPU: fix NULL/UNKNOWN SRV/UAVs on promoted-typeless textures and MSAA/array/3D NULL RTV/DSVs | | #1392 | kunalkhude99 | `9687a1958` | gpu: emit UAV barrier after a dropped compute dispatch | | #1407 | marquezinii | `a8557570a` | Shaders: lane masks holding lanes elsewhere, and mask joins, read as numbers | | #1516 | venglov | `63be4e048` | Shaders: zero missing typed-buffer components | | #1388 | wbkepler | `9d84135fa` | GPU: honor command-list 64-bit memory waits without blocking submissions (#700) | | #1189 | geiyiliyabumo | `370c61bff` | GPU: make fence signaling monotonic, clamp sampler enums, and add unit tests | | #542 | gingertonik | `31a4692a1` | Shaders: keep buffer offsets below 2 GiB (NVIDIA + vkd3d-proton world device loss) | ## Changes made while bundling No PR was edited. Everything below is a separate commit or the body of a merge commit; the first two items are what was needed for #1077 and #1175 to build on the stack at all (they merge without a conflict and do not compile, which a merge check does not show). 1. **#1077 on the stack**: it pushes a root UAV's dynamic slot on `self.dynamic`, which #1056 (in #1319) replaced by `list.keep_dynamic`; `draw.rs` now calls `list.keep_dynamic(heap, index, 1)`, the one-line change Impre-visible described. Three tests that other PRs of the stack add build a `HostShader` without #1077's new `root_uavs` field (`shader.rs`, `root_view_tests.rs`, `lane_mask_tests.rs`); each has the field. 2. **#1516**: both it and #1175 add a test at the end of `valu_tests.rs`; both are kept. 3. **#542** (offsets below 2 GiB): it bounds a scalar raw-view load with `bound_raw_offset` for the SRV case it handles. The stack has one raw-view branch for an SRV range, a UAV range or a heap buffer (#1015, #1055), so the bound is applied to that branch, which keeps the stack's choice of view. Two things in #542's own tests did not compile on the stack: `resource::track` takes the structured program as a fourth argument (the arity of #801), and the `HostShader` literal lacks `root_uavs`. 4. **#1040**: its test `host_texture_drops_unsupported_uav_flag_for_b5g5r5a1` assumed that every adapter refuses a typed UAV on B5G5R5A1_UNORM; `host_texture` only drops what the adapter refuses, and an RX 6950 XT accepts it, so the test failed on `main` plus #1040 alone. It now asks the adapter (`CheckFeatureSupport`) and expects the flag kept or dropped accordingly, for B5G5R5A1 (UAV and render target) and B4G4R4A4 (render target). **#302 and #489**: #1077 is stacked on #489, itself on #302, and its branch carries their changes under other commit ids. This bundle therefore does not mark #302 and #489 as merged. ## Left out, and why - Impre-visible's lists also had #1056 (already in #1319), #1281, #1198, #1176, #1237 and #523/#530/#1040/#1406/#542 in different orders; #1281, #1198, #1176 and #1237 are not here. - **What this does not show**: Impre-visible's numbers are from their runs of a list close to this one on Linux with Wine; this branch itself was only checked by clippy and the tests here (RX 6950 XT, WARP). Their remaining reasons on their last tree were a whole-wave section step not followed (16 compute shaders), an address not from a root parameter (15), an address from a root parameter that is no address (8), structured buffers of unknown stride (2) and LDS writes of bytes or halves (2), and the final image was still dark. ## Verification Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain): | Check | Result | |---|---| | `cargo clippy --workspace --all-targets --locked -- -D warnings` | clean | | `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` | clean | | `cargo test --workspace --locked` | 442 passed, 0 failed, 6 ignored (`main`: 342 passed, 6 ignored) | The title was not run, so this says nothing about in-game effect. No game data is used or committed. ## Re-verify in one go ```powershell git fetch https://github.com/MamaLeVrai/VIctory.git bundle/world-stack git checkout FETCH_HEAD cargo clippy --workspace --all-targets --locked -- -D warnings cargo clippy --workspace --all-targets --all-features --locked -- -D warnings cargo test --workspace --locked ``` To confirm that no component PR moved since this was built, compare each `Head` above with `gh pr view <n> --repo Marvisak/VIctory --json headRefOid`. If one differs, the branch needs a rebuild: merge the new head in the same order. ## If this lands The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above. AI-assisted (Claude Code); no game data. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
copilot-pull-request-reviewer[bot commented 2026-11-24 21:02:53 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T20:07:10Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

<!-- greyfinch-sync:Marvisak/VIctory:review:6046519015 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1632#pullrequestreview-6046519015). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/copilot-pull-request-reviewer%5Bbot%5D) on 2026-11-24T20:07:10Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
sinan-cmyk commented 2026-11-24 21:28:35 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by sinan-cmyk on 2026-11-24T21:20:04Z.


Offline shader counts on a retail dump

Result: +227 programs over #1402 (head 119b763), 0 lost. Head c3a1790, compared with #1402 at 119b763: 23,412 → 23,639 validated.

Failure on #1402 Gained
an interpolation with computed barycentrics 194
barycentrics read directly 32
a lane mask holding lanes elsewhere read as data 1
  • 226 of them are the programs #1504 gains (barycentrics), which is in this branch's history.
  • The last one matches #1407 (lane masks read as numbers), which gained exactly 1 program stacked on #1402 in my earlier measurement.

The runtime-side PRs (root UAVs, barriers, fences, typed-texture flags) change no offline count, as expected.

Method: victory translate --validate --list on shaders.rpf (1.0.2.1), dxil.dll 1.8.2502.11, compared program by program (25,889 programs). AI-assisted (Claude Code). No shader names or data are included, per the asset policy.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7144790964 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1632#issuecomment-7144790964). Originally posted by [sinan-cmyk](https://github.com/sinan-cmyk) on 2026-11-24T21:20:04Z. --- ### Offline shader counts on a retail dump **Result: +227 programs over #1402 (head 119b763), 0 lost.** Head c3a1790, compared with #1402 at 119b763: 23,412 → 23,639 validated. | Failure on #1402 | Gained | |---|---| | an interpolation with computed barycentrics | 194 | | barycentrics read directly | 32 | | a lane mask holding lanes elsewhere read as data | 1 | - **226 of them** are the programs #1504 gains (barycentrics), which is in this branch's history. - **The last one** matches #1407 (lane masks read as numbers), which gained exactly 1 program stacked on #1402 in my earlier measurement. The runtime-side PRs (root UAVs, barriers, fences, typed-texture flags) change no offline count, as expected. Method: `victory translate --validate --list` on `shaders.rpf` (1.0.2.1), dxil.dll 1.8.2502.11, compared program by program (25,889 programs). AI-assisted (Claude Code). No shader names or data are included, per the asset policy.
upstream-sync closed this pull request 2026-11-25 02:04:41 +00:00
Marvisak commented 2026-11-25 02:05:56 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:22:10Z.


Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149474877 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1632#issuecomment-7149474877). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:22:10Z. --- Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Marvisak commented 2026-11-25 02:06:10 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:32:46Z.


Automated triage for the maintainers.

Needs rebase. This pull request conflicts with main (conflicting: README.md, apps/victory/src/translate.rs, crates/victory-gpu/src/capture.rs, crates/victory-gpu/src/descriptor/host.rs, crates/victory-gpu/src/draw.rs). It will be reviewed once it is rebased onto the current main.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149670004 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1632#issuecomment-7149670004). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:32:46Z. --- <!-- victory-triage v1 head=8de76a242c980f87eea724d5d5222c59417b4d40 verdict=needs-rebase at=2026-11-25T01:32:45Z --> Automated triage for the maintainers. **Needs rebase.** This pull request conflicts with `main` (conflicting: `README.md`, `apps/victory/src/translate.rs`, `crates/victory-gpu/src/capture.rs`, `crates/victory-gpu/src/descriptor/host.rs`, `crates/victory-gpu/src/draw.rs`). It will be reviewed once it is rebased onto the current `main`. --- _Generated by [Claude Code](https://claude.ai/code)_

Pull request closed

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
Marvisak/VIctory!1631
No description provided.