Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1638"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T20:16:59Z.
One PR in place of 12. The tree Impre-visible ran on a GTX 1660 under Linux (their report on #1589) as one branch, checked: wave64 compute on 32-lane hosts (#189, as merged in #1589) plus the list of the world-run stack of #1632 and #1523 (NVIDIA hosts: widen unsupported 16-bit targets, size the view heap to the host's limit). In their run on #1589 the compute pipelines refused by the host went from 111 to 0, with no device removal. Every head is merged unchanged onto
mainplus #1589, and the result is built and tested together.What is inside
873548f2dbfe5d2dab001226617951ceb1eb08e4c897587b42ecd19687a195863be4e0489d84135fa370c61bff946edfe7131a4692a1Changes made while bundling
No PR was edited. Everything below is a separate commit or the body of a merge commit. The list is the one of #1632 (see there for #1077, #1175, #1516 and #542) and the same kinds of overlap came up again, plus the new ones of #189 and #1523:
root_uavs: #1077 adds the field toHostShader; the literals in three tests that other PRs of the stack add (cs_with_wave_sizeinemit/host.rsfrom #189,validate_and_create_cs_psoinemit/shader.rs, the root view test) get it.keep_dynamic), so #1077'sself.dynamic.push(..)for a root UAV becomeslist.keep_dynamic(heap, index, 1).const RENDER_TARGETinhost_texture; the second one is dropped. #1040's testhost_texture_drops_unsupported_uav_flag_for_b5g5r5a1assumed that every adapter refuses a typed UAV on B5G5R5A1_UNORM, wherehost_textureonly drops what the adapter refuses (an RX 6950 XT accepts it, so it failed onmainplus #1040 alone); it now asks the adapter withCheckFeatureSupport.valu_tests.rs, both kept; a test of #1516 buildsPartswithout #189'soptionsfield and now has it.bound_raw_offset) is applied to the stack's one raw-view branch (SRV range, UAV range or heap buffer, #1015 and #1055); the test helper it adds needed the structured program as the fourth argument ofresource::track(#801),optionsonParts(#189) androot_uavsonHostShader(#1077).#302 and #489 are inside #1077's own commits and are not marked as merged by this bundle.
Left out, and why
385dad2) leaves the 16-bit part to #89 and keeps only the view-heap sizing; the author found that the host's cap on NVIDIA (1,000,000 slots, debug layer ID 645) leaves the search nothing to find. This branch keeps the head that was run (946edfe, with the 16-bit widening), because that is the tree the reports measured; a tree without #1523 would not be the one they tested.mask_dwordinemit/lower.rs): two different rewrites of the same code. Impre-visible left it out of their tree for the same reason, and it is in #1632, which does not contain #189. Which of the two to keep, or how to join them, is for the authors and the maintainer.v_readfirstlanein divergent control flow (64), a structured buffer of unknown stride (56), LDS accesses without a uniform fence in split wave64 (40), a 64-lane ballot in divergent control flow (35), an address not from a root parameter (29); the final image was still dark.Verification
Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain):
cargo clippy --workspace --all-targets --locked -- -D warningscargo clippy --workspace --all-targets --all-features --locked -- -D warningscargo test --workspace --lockedmain: 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
To confirm that no component PR moved since this was built, compare each
Headabove withgh 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
Imported from Marvisak/VIctory. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T20:17:09Z.
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.
Imported from Marvisak/VIctory. Originally posted by ryotdev on 2026-11-24T20:27:35Z.
Tested
0be02a18through the first story title card on Windows, RTX 5070, driver 610.88, Series X 1.0.2.1. Built from source with diagnostics, a fresh shader cache and automatic wave-mode selection. The runtime selectedEmulate. I saw zero compute PSOs rejected by D3D12 with E_INVALIDARG.For context, an earlier clean upstream revision (
d2a4bae) on this machine had 117 distinct compute PSOs rejected with E_INVALIDARG. I matched all 117 to their translated DXIL. Each required exactly 64 lanes. CheckFeatureSupport reports a minimum and maximum of 32 on this adapter. Of those same shaders, this run showed 20 with working host pipelines and 45 explicitly refused during translation. I couldn't establish an outcome for the other 52. This wasn't a comparison against the immediate base of the bundle.Still blocked at the first 3D scene. DRED showed one list stopped at command 795 of 2283, in a series of DispatchMesh calls, followed by two lists that hadn't started. Removal reason was DXGI_ERROR_DEVICE_HUNG. No per-mesh marker identified the shader. The last captured normal frame showed the opening story card. No pipeline skips or forced render target.
AI-assisted test and analysis. Happy to compare the same setup against a specific follow-up fix.
Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T20:39:21Z.
ryotdev: thank you. 117 compute PSOs rejected for 64 lanes at
d2a4baedown to none on a 32-lane card is what #1589 is for, and matching all 117 to their translated DXIL is a solid confirmation of the cause.For the hang in the DispatchMesh run (command 795 of 2283) two diagnostics PRs that this tree does not have are the next step, so I built the same tree with them: branch
bundle/nvidia-crumbsonMamaLeVrai/VIctory, which is #1638 at0be02a1plus #1081 and #279. Clippy (both runs) andcargo test --workspacepass here (466 tests, two runs). It is a test tree; no PR is open for it.in_flightinvictory-gpu/src/host.rs). In a long run of DispatchMesh calls between two barriers those first 12 can be commands that had finished, which may be why no marker named a shader in your report.VICTORY_SHADER_DUMP=<dir>writes each shader's container and DXIL under its hash, so a hash the report names can be read withdxc -dumpbin.VICTORY_SHADER_BREADCRUMBS=1(diagnostics build) each loop keeps its iteration count in host memory; after a removal the report lists the five loops that counted most, with the pipelines that use them. Its author's note says the per-frame cost is not measured.To run it: a diagnostics build with
VICTORY_D3D12_DRED=1andVICTORY_SHADER_BREADCRUMBS=1, then post the removal report (thea list stopped at command ...text and anyshader breadcrumbs:line). #1081 meets #1638 in seven small hunks (both add a field toPartsand to its test literals); all are kept. I have not run the title.AI-assisted (Claude Code); no game data.
Imported from Marvisak/VIctory. Originally posted by Bullet18x on 2026-11-24T20:56:07Z.
First NVIDIA run of this bundle: RTX 5090 (32-lane waves), driver 621.40, Windows 11 Pro 10.0.28000, Rust 1.98.1, head
0be02a18e, clean worktree, game-data tests skipped.cargo clippy --workspace --all-targets --locked -- -D warnings: cleancargo clippy --workspace --all-targets --all-features --locked -- -D warnings: cleancargo test --workspace --locked --no-fail-fast: 459 passed, 2 failed, 6 ignored (plaincargo teststops at the first failing crate: 103 passed, 1 failed)1.
resource::tests::host_texture_drops_unsupported_uav_flag_for_b5g5r5a1(resource.rs:2022:left: true, right: false). NVIDIA-only, from #1040's test meeting #1523 in this tree:widened()asks the adapter about format 86 (B5G5R5A1_UNORM); on this NVIDIA driver it has no typed UAV store, sohost_textureturns the format intoWIDE(87, B8G8R8A8_UNORM) before #1040's flag check (resource.rs:919).supports(86, TYPED_UNORDERED_ACCESS_VIEW)→ false, and expects the flag dropped.On AMD 86 is not widened, which is why the RX 6950 XT run is green. Suggested fix: compare against the format the texture was created with, i.e.
supports(d.Format.0 as u32, ...)instead of the literal 86 (or skip the check whenwidened(86)).2.
emit::wave64_tests::gpu::gpu_128_threads_ds_swizzle_and_dpp_row_mask(from #189): only its WARP pass fails (Wave32, warp=true ... output mismatch); the hardware pass on the 5090 passes. Also fails onwave64-189andall; likely this Windows Insider build's WARP (a GTX 1060 / Windows 10 run passes it). Details on #189.The title itself was not run on this exact bundle. (Runs of #189 and #1523 alone on this machine: #1586.)
AI use: Claude Code (Claude Opus 5.5) ran the commands, traced the failure and wrote this; I checked it.
Imported from Marvisak/VIctory. Originally posted by sinan-cmyk on 2026-11-24T21:19:59Z.
Offline shader counts on a retail dump
Result: +226 programs over #1402 (head
119b763), 0 lost. Head0be02a1, compared with #1402 at119b763: 23,412 → 23,638 validated.These are exactly the 226 programs that #1504 gains on top of #1492 (measured there). #1504 is in this bundle's history. So the bundle's other changes, wave64 compute and the world-run list, change no offline count. That fits: their effect is on the runtime side (pipelines the host refuses, device removal), which an offline
translate --validatedoes not show.Method:
victory translate --validate --listonshaders.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.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:22:20Z.
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.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:32:51Z.
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 currentmain.Generated by Claude Code
upstream-sync referenced this pull request2026-11-25 04:06:56 +00:00
Pull request closed