Hardware ray tracing 1/7: the translator lifts the title's structure walks to ray queries (VICTORY_HW_RT, off by default) #468

Open
github-bot wants to merge 5 commits from github-bot/gh-468 into main AGit
Owner

@⁠LOCKhart07 on GitHub · 2026-12-04 14:34 UTC · original
LOCKhart07:rt-1-lift → main · +9667 −45 · 13 files · 5 commits · draft

This is the bottom of the hardware ray tracing stack, split as asked in review of #262, #274, #306, #323, #328, #342 and #374. It replaces the first commit of #262. Opened as a draft: see "Not proven" below.

What it changes

With VICTORY_HW_RT=1 in the environment of victory translate, a compute or pixel program that walks the title's acceleration structures in a loop of its own is emitted with a DXR 1.1 ray query in place of the loop. Without the switch the translator emits what it does on main: measured, see below. TRANSLATOR_VERSION stays 20, so no cache is rebuilt.

Correction (2026-12-04). As first opened, this PR said the output without the switch was meant to be main's and that I had not compared them. I have now, and it was not: 3,980 of 25,694 shaders came out different. The lift commit carried two translator changes that did not depend on the switch (the zero addend of v_mad_legacy worked on the bits, and stores through a counter view), and bumped the version for them. Both are taken out in a new commit here; main's own form of the first stays, and the second is a branch of its own on main (main-counter-store on my fork, 2 shaders different, its own version bump). After that commit: 0 of 25,694 different.

This PR alone does not change a run: victory run refuses VICTORY_HW_RT=1 here and says the host structures are in the next PR. victory shaders and translate --warm do take the switch and write the cache a run reads, so the switch is now part of the cache key (second new commit): a lifted program is never stored under a plain one's key.

  • crates/victory-shader/src/emit/rayquery.rs (new, 8,269 lines): finding the traversal loop, proving what leaves it, emitting the query.
  • crates/victory-shader/src/structure.rs (new): the title's structure layout as the lift reads it.
  • emit/lower.rs, emit/shader.rs, emit/mod.rs, emit/bitcode.rs: the hooks, all behind the switch.
  • apps/victory/src/translate.rs: counts what was lifted and what stayed on the software walk, and why.
  • crates/victory-gpu/src/shader_cache.rs: the switch in the cache key, only when on.

The size is one file. I could not find a cut of rayquery.rs that compiles and is reviewable in halves; if you see one, say so and I will make it.

Switches (all in docs/SETTINGS.md in this PR)

Switch Default
VICTORY_HW_RT unset the lift itself
VICTORY_HW_RT_LIFT 1 0: with VICTORY_HW_RT=1, lift nothing (to tell a translator fault from a lift fault). On by default under a switch that is off by default, as noted in review; now written down
VICTORY_HW_RT_WHY unset diagnostic: why each loop was or was not lifted

They are not in run.conf.default in this PR, because a run refuses the switch here; the next PR adds them there when a run can use them.

Review points answered here

  • Switches undocumented (#262, #342, #374): documented, in the PR that adds each.
  • rayquery_tests::a_node_test_outside_a_traversal_loop_keeps_the_software_walk_and_says_why failed with VICTORY_HW_RT_LIFT=0 in the environment (reported from a Windows run on #342): the ray-query tests now pin the lift on. Before: 6 passed, 1 failed at rayquery_tests.rs:82 with the variable set; after: 30 passed, 1 ignored.
  • "None of this compiles on Linux" (#262): correct for the host side, which arrives in the next PR as #[cfg(windows)] pub mod hwrt. What is in this PR (rayquery.rs, structure.rs, their tests) is platform neutral.

Measured

All for x86_64-pc-windows-msvc, tests under Wine on Linux (RADV), this branch against main at 0fd7614 on the same machine:

main this branch
clippy (--lib --bins --tests) 51 warning lines 51 warning lines
victory-shader --lib 420 passed, 0 failed, 4 ignored 431 passed, 0 failed, 5 ignored
victory-gpu --lib 338 passed, 6 failed 338 passed, 6 failed
victory-core --lib 35 passed 35 passed
victory-hle --lib 155 passed, 5 failed 155 passed, 5 failed

Output without the switch, over the 25,694 shader containers of the title's archive: victory shaders translating again what main (0fd7614) had cached and counting what comes out different.

different from main
as first opened (cbdeda3, measured on the top of the stack) 3,980 of 25,694
now (902df9f and later) 0 of 25,694

195 of the containers hold no program and translate on neither. With VICTORY_HW_RT=1, victory translate on this branch lifts whole all 64 compute programs that have traversal loops, 397 loops of 397.

The table of tests above is from cbdeda3. On the current head only victory-shader --lib was run again (431 passed, 0 failed, 5 ignored), and clippy on the top of the stack with these commits merged in (51 warning lines).

The failures are main's own here: in victory-gpu, tests of indirect::tests and watch:: that need a device or vary from run to run under Wine (which ones fail differs a little between runs, on main too); in victory-hle, the same five on both (gameinput, net, xgamesave). None is in code this PR touches. The GPU suite is run without descriptor::tests::views_die_with_their_resource, which crashes the process on main here, as it was skipped in the Windows run reported on #342.

Not proven, not measured

  • Parity is not proven hit for hit. The lifted query is argued from the loop's structure and checked by the loss counters of the next PR, which four testers report at 0 over whole sessions (#262, #342). A counter at 0 is not a comparison of hits: the capture exporter and matched traces of docs/RT-PARITY.md are still outstanding. That is why this is a draft.
  • The comparison above is of the translator only. That the host side of the later branches does nothing with their switches off is not measured; it needs a run.
  • No frame rate, no picture: this PR draws nothing differently.
  • None of the rebased branches has been run in play by me. The play numbers in their commits are from the trees before the split and say so; runs of the branches themselves are asked of testers on the old PRs.
  • the_local_shader_cache_lifts_its_ray_queries is ignored (it needs a local shader cache) and was not run for this tree.

The rest of the stack

Each is a branch on my fork showing only its own change, each behind its own switch, each with its docs. I will open them here one at a time as the one below lands, unless you would rather see them all at once.

# Branch Own change Switch Replaces
1 rt-1-lift this PR VICTORY_HW_RT (translate) #262, commit 1
2 rt-2-structures host structures by a tap on the title's builder VICTORY_HW_RT (run), _REFIT #262, commits 2 and 3
3 rt-3-lean the title's builder runs only where its result is read _LEAN_BUILDER #274, and #342's one line
4 rt-4-arena structures cut from shared blocks _ARENA #306's arena commit
5 rt-5-demote idle updatable structures built again compact _DEMOTE #323
6 rt-6-pack sparse blocks emptied and given back _PACK #328
7 rt-7-reuse structures the title wrote over are dropped _REUSE, _NAMED, _NAMED_DUMP #374's own commit

The branches above this one received the two new commits as a merge, not a rebase, so work based on them keeps its base.

Already open and independent of ray tracing: #458 (send memory) and #459 (tight texture alignment), which are #306's other two commits.

🤖 Generated with Claude Code

**@⁠LOCKhart07** on GitHub · 2026-12-04 14:34 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/468) `LOCKhart07:rt-1-lift` → `main` · +9667 −45 · 13 files · 5 commits · draft This is the bottom of the hardware ray tracing stack, split as asked in review of #262, #274, #306, #323, #328, #342 and #374. It replaces the first commit of #262. Opened as a draft: see "Not proven" below. ### What it changes With `VICTORY_HW_RT=1` in the environment of `victory translate`, a compute or pixel program that walks the title's acceleration structures in a loop of its own is emitted with a DXR 1.1 ray query in place of the loop. Without the switch the translator emits what it does on main: measured, see below. `TRANSLATOR_VERSION` stays 20, so no cache is rebuilt. **Correction (2026-12-04).** As first opened, this PR said the output without the switch was meant to be main's and that I had not compared them. I have now, and it was not: 3,980 of 25,694 shaders came out different. The lift commit carried two translator changes that did not depend on the switch (the zero addend of `v_mad_legacy` worked on the bits, and stores through a counter view), and bumped the version for them. Both are taken out in a new commit here; main's own form of the first stays, and the second is a branch of its own on main (`main-counter-store` on my fork, 2 shaders different, its own version bump). After that commit: 0 of 25,694 different. This PR alone does not change a run: `victory run` refuses `VICTORY_HW_RT=1` here and says the host structures are in the next PR. `victory shaders` and `translate --warm` do take the switch and write the cache a run reads, so the switch is now part of the cache key (second new commit): a lifted program is never stored under a plain one's key. - `crates/victory-shader/src/emit/rayquery.rs` (new, 8,269 lines): finding the traversal loop, proving what leaves it, emitting the query. - `crates/victory-shader/src/structure.rs` (new): the title's structure layout as the lift reads it. - `emit/lower.rs`, `emit/shader.rs`, `emit/mod.rs`, `emit/bitcode.rs`: the hooks, all behind the switch. - `apps/victory/src/translate.rs`: counts what was lifted and what stayed on the software walk, and why. - `crates/victory-gpu/src/shader_cache.rs`: the switch in the cache key, only when on. The size is one file. I could not find a cut of `rayquery.rs` that compiles and is reviewable in halves; if you see one, say so and I will make it. ### Switches (all in `docs/SETTINGS.md` in this PR) | Switch | Default | | |---|---|---| | `VICTORY_HW_RT` | unset | the lift itself | | `VICTORY_HW_RT_LIFT` | `1` | `0`: with `VICTORY_HW_RT=1`, lift nothing (to tell a translator fault from a lift fault). On by default under a switch that is off by default, as noted in review; now written down | | `VICTORY_HW_RT_WHY` | unset | diagnostic: why each loop was or was not lifted | They are not in `run.conf.default` in this PR, because a run refuses the switch here; the next PR adds them there when a run can use them. ### Review points answered here - Switches undocumented (#262, #342, #374): documented, in the PR that adds each. - `rayquery_tests::a_node_test_outside_a_traversal_loop_keeps_the_software_walk_and_says_why` failed with `VICTORY_HW_RT_LIFT=0` in the environment (reported from a Windows run on #342): the ray-query tests now pin the lift on. Before: 6 passed, 1 failed at `rayquery_tests.rs:82` with the variable set; after: 30 passed, 1 ignored. - "None of this compiles on Linux" (#262): correct for the host side, which arrives in the next PR as `#[cfg(windows)] pub mod hwrt`. What is in this PR (`rayquery.rs`, `structure.rs`, their tests) is platform neutral. ### Measured All for `x86_64-pc-windows-msvc`, tests under Wine on Linux (RADV), this branch against main at `0fd7614` on the same machine: | | main | this branch | |---|---|---| | clippy (`--lib --bins --tests`) | 51 warning lines | 51 warning lines | | `victory-shader --lib` | 420 passed, 0 failed, 4 ignored | 431 passed, 0 failed, 5 ignored | | `victory-gpu --lib` | 338 passed, 6 failed | 338 passed, 6 failed | | `victory-core --lib` | 35 passed | 35 passed | | `victory-hle --lib` | 155 passed, 5 failed | 155 passed, 5 failed | Output without the switch, over the 25,694 shader containers of the title's archive: `victory shaders` translating again what main (`0fd7614`) had cached and counting what comes out different. | | different from main | |---|---| | as first opened (`cbdeda3`, measured on the top of the stack) | 3,980 of 25,694 | | now (`902df9f` and later) | 0 of 25,694 | 195 of the containers hold no program and translate on neither. With `VICTORY_HW_RT=1`, `victory translate` on this branch lifts whole all 64 compute programs that have traversal loops, 397 loops of 397. The table of tests above is from `cbdeda3`. On the current head only `victory-shader --lib` was run again (431 passed, 0 failed, 5 ignored), and clippy on the top of the stack with these commits merged in (51 warning lines). The failures are main's own here: in `victory-gpu`, tests of `indirect::tests` and `watch::` that need a device or vary from run to run under Wine (which ones fail differs a little between runs, on main too); in `victory-hle`, the same five on both (`gameinput`, `net`, `xgamesave`). None is in code this PR touches. The GPU suite is run without `descriptor::tests::views_die_with_their_resource`, which crashes the process on main here, as it was skipped in the Windows run reported on #342. ### Not proven, not measured - **Parity is not proven hit for hit.** The lifted query is argued from the loop's structure and checked by the loss counters of the next PR, which four testers report at 0 over whole sessions (#262, #342). A counter at 0 is not a comparison of hits: the capture exporter and matched traces of `docs/RT-PARITY.md` are still outstanding. That is why this is a draft. - The comparison above is of the translator only. That the host side of the later branches does nothing with their switches off is not measured; it needs a run. - No frame rate, no picture: this PR draws nothing differently. - None of the rebased branches has been run in play by me. The play numbers in their commits are from the trees before the split and say so; runs of the branches themselves are asked of testers on the old PRs. - `the_local_shader_cache_lifts_its_ray_queries` is ignored (it needs a local shader cache) and was not run for this tree. ### The rest of the stack Each is a branch on my fork showing only its own change, each behind its own switch, each with its docs. I will open them here one at a time as the one below lands, unless you would rather see them all at once. | # | Branch | Own change | Switch | Replaces | |---|---|---|---|---| | 1 | `rt-1-lift` | this PR | `VICTORY_HW_RT` (translate) | #262, commit 1 | | 2 | `rt-2-structures` | host structures by a tap on the title's builder | `VICTORY_HW_RT` (run), `_REFIT` | #262, commits 2 and 3 | | 3 | `rt-3-lean` | the title's builder runs only where its result is read | `_LEAN_BUILDER` | #274, and #342's one line | | 4 | `rt-4-arena` | structures cut from shared blocks | `_ARENA` | #306's arena commit | | 5 | `rt-5-demote` | idle updatable structures built again compact | `_DEMOTE` | #323 | | 6 | `rt-6-pack` | sparse blocks emptied and given back | `_PACK` | #328 | | 7 | `rt-7-reuse` | structures the title wrote over are dropped | `_REUSE`, `_NAMED`, `_NAMED_DUMP` | #374's own commit | The branches above this one received the two new commits as a merge, not a rebase, so work based on them keeps its base. Already open and independent of ray tracing: #458 (send memory) and #459 (tight texture alignment), which are #306's other two commits. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The title's ray-tracing programs walk the console's structures in a loop
of their own. With VICTORY_HW_RT=1 the translator recognises each such
loop and writes a DXIL RayQuery in its place, keeping the title's own
hit tests, masks and ordering rules as the candidate and commit steps.
A loop it cannot prove equivalent stays as translated before.

Ported from VIctory-NVIDIA PR #3706 (GPL-3.0), with the lifter's
exactness rules of dakisback2/VIctory-Nvidia-Linux (85b0b11b, 5485daf7)
by way of Leslie-d-a/VIctory-NVIDIA-HWRT; see the header of
emit/rayquery.rs.

New here: the 14 loops those leave unlifted (6 programs, given a forced
miss there). The console compiler reuses three registers as loop scratch
on the lanes that run the loop and reads their old values on the lanes
that do not; the lane sets pass through mask joins the lifter could not
relate. Joins whose inputs are all one mask now collapse to it, and the
reading lanes are refuted against the loop's entry lanes by an exact
search (Bools::sat_with; out of budget refuses). All 64 ray-tracing
programs and their 397 loops lift and pass the DXIL validator.

Two fixes on the way, with the switch off too (translator version up):
the sign of zero in v_mad_legacy, and partial stores through a counter
view. Apart from those, the output with the switch off is unchanged.

`victory translate` names an emit panic per program and prints a
ray-tracing summary. A run refuses the switch until the host side is in.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
With VICTORY_HW_RT_LIFT=0 set where the tests run, a_node_test_outside_a_traversal_loop_keeps_the_software_walk_and_says_why failed: the reason it asserts on is replaced by "VICTORY_HW_RT_LIFT=0: no loop lifted" (reported on #342 from a Windows run). The tests' guard that sets the hardware ray-tracing switch for a scope now sets the lifting to its default too; the test of VICTORY_HW_RT_LIFT=0 sets its own inside the guard, as before.

No change outside the tests.

Tests, under Wine with VICTORY_HW_RT_LIFT=0 in the environment: before, the ray-query tests 6 passed and that one failed (rayquery_tests.rs:82); after, the ray-query, intersect and size tests 30 passed, 1 ignored (the one that needs a local shader cache).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
docs/SETTINGS.md gets a section for hardware ray tracing with the three switches the translator reads: what each does, its values, and that VICTORY_HW_RT_LIFT is on by default under a master switch that is off by default (asked for in review of #262, #342 and #374).

They are not in run.conf.default yet: that file is the in-game menu, and with only the translator's side in, `victory run` refuses VICTORY_HW_RT=1. They are added there with the host side, where a run takes the switch.

Words only: no code changes.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-04 14:36:24 +00:00
The lift commit carried two changes that did not depend on its switch
(its message said so: "two fixes on the way, with the switch off too")
and raised TRANSLATOR_VERSION for them:

- v_mad_legacy's zero addend worked on the bits (and a NaN quieted),
  in place of main's comparison;
- a store through a counter view taken as its one integer channel for
  any mask naming channel 0, refused for one that does not.

Both are taken out here, with the store's test, and the version is 20
again. main's form of the first stays; the second is to be proposed on
its own. What a NaN addend gives is not carried anywhere now.

Measured, on one machine (Wine, RADV), over the 25,694 shader
containers of the title's archive, by `victory shaders` translating
again what main (0fd7614) had cached and counting what came out
different, no switch set:

  before this commit   3,980 of 25,694 different
  after                    0 of 25,694 different

("before" was taken on the top of the stack, "after" on this commit;
195 containers hold no program and translate on neither).

With VICTORY_HW_RT=1, after: `victory translate` lifts whole all 64
compute programs with traversal loops, 397 loops of 397, so the lift
does not need either change.

Not measured: the host side (none in this commit), any run.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
A run refuses VICTORY_HW_RT=1 on this branch, but `victory shaders` and
`translate --warm` take it and write the cache a run reads. Their
lifted programs went in under the key of the plain ones, so a later run
without the switch would have been given them, with no host structure
to bind.

The switch (and VICTORY_HW_RT_LIFT under it) now goes into the key,
only when on: caches made without it keep their keys.

Measured on one machine (Wine, RADV), the title's 25,694 containers,
on a cache holding the plain translations: `victory shaders` with
VICTORY_HW_RT=1 took 105 s (it translated them), and the one after it
with no switch took 5 s and translated none again (the plain entries
were still there, under their own keys).

Not tested by a unit test: the key reads the environment once per
process. No run.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Author
Owner

@⁠Luxuride on GitHub · 2026-12-04 17:15 UTC · original · edited 2026-12-04 17:21 UTC

Thanks — this is the split that was asked for, and it replaces the first commit of #262, so the overlap with the stack is by design rather than accidental.

One thing for the queue rather than for this PR: the translator commits 1e42fca, 60375bf and cbdeda3 are literally the same SHAs still sitting in #429 and #452, and 4,682 of the added lines here are identical to that stack's. That is fine as history, but while both copies are open, anyone reading the stack reads those ~4.6k lines a second time, and the two copies can drift.

So the only question worth settling is which copy is the one to review — the series or the stack — and once that is decided, the other just says so in a line, so a reviewer knows to skip it instead of comparing. Nothing else here reads as duplication.

**@⁠Luxuride** on GitHub · 2026-12-04 17:15 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/468#issuecomment-7418661599) · edited 2026-12-04 17:21 UTC Thanks — this is the split that was asked for, and it replaces the first commit of #262, so the overlap with the stack is by design rather than accidental. One thing for the queue rather than for this PR: the translator commits `1e42fca`, `60375bf` and `cbdeda3` are literally the same SHAs still sitting in #429 and #452, and 4,682 of the added lines here are identical to that stack's. That is fine as history, but while both copies are open, anyone reading the stack reads those ~4.6k lines a second time, and the two copies can drift. So the only question worth settling is which copy is the one to review — the series or the stack — and once that is decided, the other just says so in a line, so a reviewer knows to skip it instead of comparing. Nothing else here reads as duplication.
Author
Owner

@⁠fsrajner on GitHub · 2026-12-05 10:20 UTC · original

Data point for the whole stack (rt-7-reuse @ 621120b) on RDNA 4.

Setup: RX 9070 XT 16 GB, Ryzen 7 7800X3D, CachyOS, repo-patched Mesa 26.3.1 RADV + vkd3d-proton, proton-cachyos-slr. Series X profile, 4K output with FSR 4.1.2 Quality, RT on, headless gamescope. Build: main @ 8bf4878 with rt-7-reuse merged (no conflicts).

Method: same intro snapshot every run, 120 s after the first A press, 2 runs per arm after one warm-up run per arm (so pipeline compiles don't land in the measured runs). The metrics come from the 5 s stats: frame windows: ms/frame, the share of windows slower than 40 ms (25 fps), the worst window, and the count of long frame lines.

Arm ms/frame windows > 40 ms worst 5 % / worst window gpu_wait long frame lines longest
default (software walk) 45 (46 / 45) 80.6 % 59.3 / 59.5 ms 20.3 ms 1188 195 ms
HW_RT=1 + LEAN_BUILDER=1 43 (43 / 44) 86.1 % 52.8 / 63.0 ms 17.9 ms 719 157 ms
+ DEMOTE + PACK + REUSE 44 (43 / 45) 88.9 % 55.3 / 67.8 ms 18.9 ms 692 187 ms
  • In both HW arms the log shows lifted 1 of 1 (bvh64 0/0, bvh32 1/1), on the software walk: none, and every counter on the hardware RT losses line is 0. No device loss and no errors.
  • Hardware RT saves about 2 ms a frame on average and cuts single long frames by about 40 %. The share of slow 5 s windows and the worst window don't improve, though; those differences are within run-to-run noise in this scene. Here the frame stays GPU-bound outside the RT passes.
  • DEMOTE/PACK/REUSE add nothing measurable in a 2-minute scene, which is expected: REUSE is meant to stop the VRAM growth that shows up in long sessions.
**@⁠fsrajner** on GitHub · 2026-12-05 10:20 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/468#issuecomment-7436382494) Data point for the whole stack (`rt-7-reuse` @ `621120b`) on RDNA 4. **Setup:** RX 9070 XT 16 GB, Ryzen 7 7800X3D, CachyOS, repo-patched Mesa 26.3.1 RADV + vkd3d-proton, proton-cachyos-slr. Series X profile, 4K output with FSR 4.1.2 Quality, RT on, headless gamescope. Build: `main` @ `8bf4878` with `rt-7-reuse` merged (no conflicts). **Method:** same intro snapshot every run, 120 s after the first A press, 2 runs per arm after one warm-up run per arm (so pipeline compiles don't land in the measured runs). The metrics come from the 5 s `stats: frame` windows: ms/frame, the share of windows slower than 40 ms (25 fps), the worst window, and the count of `long frame` lines. | Arm | ms/frame | windows > 40 ms | worst 5 % / worst window | gpu_wait | `long frame` lines | longest | |---|---|---|---|---|---|---| | default (software walk) | 45 (46 / 45) | 80.6 % | 59.3 / 59.5 ms | 20.3 ms | 1188 | 195 ms | | `HW_RT=1` + `LEAN_BUILDER=1` | **43** (43 / 44) | 86.1 % | 52.8 / 63.0 ms | 17.9 ms | **719** | 157 ms | | + `DEMOTE` + `PACK` + `REUSE` | 44 (43 / 45) | 88.9 % | 55.3 / 67.8 ms | 18.9 ms | 692 | 187 ms | - In both HW arms the log shows `lifted 1 of 1 (bvh64 0/0, bvh32 1/1), on the software walk: none`, and every counter on the `hardware RT losses` line is 0. No device loss and no errors. - Hardware RT saves about 2 ms a frame on average and cuts single long frames by about 40 %. The share of slow 5 s windows and the worst window don't improve, though; those differences are within run-to-run noise in this scene. Here the frame stays GPU-bound outside the RT passes. - `DEMOTE`/`PACK`/`REUSE` add nothing measurable in a 2-minute scene, which is expected: `REUSE` is meant to stop the VRAM growth that shows up in long sessions.
Author
Owner

@⁠tommiehansen on GitHub · 2026-12-06 00:18 UTC · original

@⁠LOCKhart07 I replayed your seven-stage HWRT stack in order on current main (8c4e663) in an isolated integration branch, without touching your branches. The main conflicts were the Usage field context, structural test insertion, SETTINGS placement and run.conf additions. Then I replayed the dependent #429/#452/#602/#633/#634 stack. Both Linux shader tests and Windows GPU/HLE compilation + scoped RT tests pass: CI 47586258133. Integration history if useful for reconciling your foundation. No competing PR or physical DXR performance claim. Thanks for the original work!

**@⁠tommiehansen** on GitHub · 2026-12-06 00:18 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/468#issuecomment-7448259027) @⁠LOCKhart07 I replayed your seven-stage HWRT stack in order on current main (`8c4e663`) in an isolated integration branch, without touching your branches. The main conflicts were the `Usage` field context, structural test insertion, SETTINGS placement and run.conf additions. Then I replayed the dependent #429/#452/#602/#633/#634 stack. Both Linux shader tests and Windows GPU/HLE compilation + scoped RT tests pass: [CI 47586258133](https://github.com/tommiehansen/VIctory-xmem/actions/runs/47586258133). [Integration history](https://github.com/tommiehansen/VIctory-xmem/commits/prc/hwrt-current-main-integration-20261206/) if useful for reconciling your foundation. No competing PR or physical DXR performance claim. Thanks for the original work!
Author
Owner

@⁠tommiehansen on GitHub · 2026-12-06 01:48 UTC · original

Thanks for the earlier RDNA4 results. Would anyone with a 9070 XT or 9060 XT 16 GB be able to run a matched native RT capture (1440p/1080p respectively, no FSR or frame generation) on the pinned HWRT integration and capture protocol? Raw frame times, a fixed dense scene and the same downtown route, plus mesh/compute pass timings if available, would help identify the actual critical path. The same focused AMD runner can check individual changes separately. No need to test every experiment in one build. Please include driver/build/settings and any visual differences. Thank you!

**@⁠tommiehansen** on GitHub · 2026-12-06 01:48 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/468#issuecomment-7449463702) Thanks for the earlier RDNA4 results. Would anyone with a 9070 XT or 9060 XT 16 GB be able to run a matched native RT capture (1440p/1080p respectively, no FSR or frame generation) on the [pinned HWRT integration and capture protocol](https://github.com/tommiehansen/VIctory-xmem/blob/tracking/phases-8-10/validation/physical-frame-baseline.md)? Raw frame times, a fixed dense scene and the same downtown route, plus mesh/compute pass timings if available, would help identify the actual critical path. The same [focused AMD runner](https://github.com/tommiehansen/VIctory-xmem/blob/tracking/phases-8-10/validation/amd-production-gates.sh) can check individual changes separately. No need to test every experiment in one build. Please include driver/build/settings and any visual differences. Thank you!
This pull request has changes conflicting with the target branch.
  • crates/victory-shader/src/structure.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/468/head:github-bot/gh-468'
git switch 'github-bot/gh-468'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-468'
git switch 'github-bot/gh-468'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-468'
git switch 'github-bot/gh-468'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-468'
git switch 'main'
git merge --squash 'github-bot/gh-468'
git switch 'main'
git merge --ff-only 'github-bot/gh-468'
git switch 'main'
git merge 'github-bot/gh-468'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.