Wave32 & VICTORY_BVH_BUILDER=1: 6 refused Wave64 compute PSOs (ID 622), 3 BVH prefix kernels disabling RT builder, and >32 KiB mesh-pixel linking #37

Open
opened 2026-11-26 03:31:28 +00:00 by github-bot · 4 comments
Owner

@⁠owsware on GitHub · 2026-11-25 23:57 UTC · original

Summary

On an NVIDIA RTX 5080 (32-lane hardware, driver 576.80) running 0a43566 with VICTORY_SKIP_PIPELINES=none:

  • Note first that PR #4 (fix/wave32-lds-flags, 25025d2) passed hardware verification: both_host_waves_observe_the_lds_flag_after_the_join reported all 14 flag dispatches passed on a 32-lane hardware adapter.
  • Additionally, compute shader eeed82b877b44b5f ran unskipped across all 7 live runs with zero faults on RTX 5080 (576.80; open PR #23 addresses its underlying raw/structured alignment issue).

However, 6 compute PSOs are still refused (0x80070057, D3D12 ID 622: WaveSize 64 > 32) in normal -Safe gameplay, and VICTORY_BVH_BUILDER=1 self-disables completely (1,129.1/frame dropped) due to 3 failed compute translations.

1. Live Refused Compute Shaders (ID 622, 0x80070057) in testD_d3ddebug

  1. 2da4beb386509b77 (group=256x1x1): Fails resource::track ("a descriptor neither loaded nor built") after early-out (s_cbranch_execz) removal across s_barrier, keeping WaveSize(64).
    • Confirmed mechanism fix: feeding per-lane guard masks (lanes.guards) into known descriptor/live tracking inside victory-shader allows without early-outs: wave Some(32) to validate and compile on RTX 5080.
  2. 5dc3b25986622949 and 6f225b641c5b0708 (group=8x8x1): Write 3D textures inside bounded loops; blocks_in_loops rejects wave-widening around loop exits.
    • Confirmed mechanism fix: staged loop-safe wave widening (permitting widening when loop-membership-changing exits agree across both Wave32 halves while keeping genuine per-lane execz/vccz latches excluded) validates both cleanly on RTX 5080 without VICTORY_WAVE_WIDE=1 side effects.
  3. 6b82bc7d22016cb5 (group=1024x1x1 — observed in offline corpus) and 02384a60fda6f2d0 (group=128x1x1): Multi-wave workgroups using cross-lane ballot/prefix ops combined with ds_add_rtn_u32 and read/write LDS inside divergent control flow (6b82bc7d22016cb5 also approaches/exceeds the 32,768-byte DXIL shared-memory limit when emulated naively).
    • Note: Requires multi-wave Wave32 LDS/first-lane lowering beyond single-wave groups (see open PR #18 for compute wave-ticket ID assignment).
  4. 2cc4c197ee29e291 and 369cbe906ea72764: Refused 0x80070057 (ID 622, dropped ~1.0/frame in live runs).

2. VICTORY_BVH_BUILDER=1 Self-Disabled by 3 Prefix-Scan Stages (testE_rt)

Running -Safe + VICTORY_BVH_BUILDER=1 (0a43566, RTX 5080) logs:

WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=39321a95223001ed error=converter shader.dxil v1: GFX10 code at 0x23c: a first-lane read where not every lane runs is not supported
WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=77360df21e12ea43 error=converter shader.dxil v1: GFX10 code at 0x23c: a first-lane read where not every lane runs is not supported
WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=9fc111d3be79364f error=converter shader.dxil v1: GFX10 code at 0x258: a first-lane read where not every lane runs is not supported
WARN victory_gpu::pipeline: the ray-tracing structure builder stays off: not all of its programs have a host pipeline, and its stages run all or none missing=3 of=53 which=["39321a95223001ed", "77360df21e12ea43", "9fc111d3be79364f"]
INFO victory_gpu::host: dropped 1129.1/frame without a host pipeline: a stage of the ray-tracing structure builder, which is off

In crates/victory-gpu/src/pipeline.rs:328-358, builder_runs() turns off all 53 builder pipelines because those 3 prefix-scan kernels fail the first-lane read check inside a post-barrier accumulation loop where each half-wave reads the same LDS subtotal and the first-lane read of the accumulated total can safely remain local. Resolving those 3 stages brings 53/53 BVH builder stages online on RTX 5080.

3. Standalone Mesh Output Limit (>32 KiB)

On Wave32/strict DXIL targets, mesh shader 72da0ba1efaec1e0 paired with pixel shader 52f3df4aa5649b6a emits 34,816 bytes of standalone vertex+primitive outputs (68 scalar vertex outputs at 128 vertices/128 primitives), exceeding DXIL's 32,768-byte limit. Intersecting the mesh OSG1 output mask with the paired pixel shader's ISG1 read mask and pruning only unread arbitrary semantics (while preserving system values, channel indices, and packed addressing) reduces linked output size to 31,232 bytes and passes DXIL validation + RTX 5080 pipeline creation cleanly. (Useful for both native mesh pipelines and open PR #20's mesh fallback.)

**@⁠owsware** on GitHub · 2026-11-25 23:57 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/37) ## Summary On an **NVIDIA RTX 5080** (32-lane hardware, driver `576.80`) running `0a43566` with `VICTORY_SKIP_PIPELINES=none`: - Note first that **PR #4 (`fix/wave32-lds-flags`, `25025d2`) passed hardware verification**: `both_host_waves_observe_the_lds_flag_after_the_join` reported `all 14 flag dispatches passed on a 32-lane hardware adapter`. - Additionally, compute shader `eeed82b877b44b5f` ran unskipped across all 7 live runs with zero faults on RTX 5080 (`576.80`; open PR #23 addresses its underlying raw/structured alignment issue). However, **6 compute PSOs** are still refused (`0x80070057`, D3D12 `ID 622`: `WaveSize 64 > 32`) in normal `-Safe` gameplay, and **`VICTORY_BVH_BUILDER=1`** self-disables completely (`1,129.1/frame` dropped) due to **3 failed compute translations**. ## 1. Live Refused Compute Shaders (`ID 622`, `0x80070057`) in `testD_d3ddebug` 1. `2da4beb386509b77` (`group=256x1x1`): Fails `resource::track` (`"a descriptor neither loaded nor built"`) after early-out (`s_cbranch_execz`) removal across `s_barrier`, keeping `WaveSize(64)`. - **Confirmed mechanism fix**: feeding per-lane guard masks (`lanes.guards`) into known descriptor/live tracking inside `victory-shader` allows `without early-outs: wave Some(32)` to validate and compile on RTX 5080. 2. `5dc3b25986622949` and `6f225b641c5b0708` (`group=8x8x1`): Write 3D textures inside bounded loops; `blocks_in_loops` rejects wave-widening around loop exits. - **Confirmed mechanism fix**: staged loop-safe wave widening (permitting widening when loop-membership-changing exits agree across both Wave32 halves while keeping genuine per-lane `execz`/`vccz` latches excluded) validates both cleanly on RTX 5080 without `VICTORY_WAVE_WIDE=1` side effects. 3. `6b82bc7d22016cb5` (`group=1024x1x1` — observed in offline corpus) and `02384a60fda6f2d0` (`group=128x1x1`): Multi-wave workgroups using cross-lane ballot/prefix ops combined with `ds_add_rtn_u32` and read/write LDS inside divergent control flow (`6b82bc7d22016cb5` also approaches/exceeds the `32,768`-byte DXIL shared-memory limit when emulated naively). - **Note**: Requires multi-wave Wave32 LDS/first-lane lowering beyond single-wave groups (see open PR #18 for compute wave-ticket ID assignment). 4. `2cc4c197ee29e291` and `369cbe906ea72764`: Refused `0x80070057` (`ID 622`, dropped `~1.0/frame` in live runs). ## 2. `VICTORY_BVH_BUILDER=1` Self-Disabled by 3 Prefix-Scan Stages (`testE_rt`) Running `-Safe + VICTORY_BVH_BUILDER=1` (`0a43566`, RTX 5080) logs: ```text WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=39321a95223001ed error=converter shader.dxil v1: GFX10 code at 0x23c: a first-lane read where not every lane runs is not supported WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=77360df21e12ea43 error=converter shader.dxil v1: GFX10 code at 0x23c: a first-lane read where not every lane runs is not supported WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=9fc111d3be79364f error=converter shader.dxil v1: GFX10 code at 0x258: a first-lane read where not every lane runs is not supported WARN victory_gpu::pipeline: the ray-tracing structure builder stays off: not all of its programs have a host pipeline, and its stages run all or none missing=3 of=53 which=["39321a95223001ed", "77360df21e12ea43", "9fc111d3be79364f"] INFO victory_gpu::host: dropped 1129.1/frame without a host pipeline: a stage of the ray-tracing structure builder, which is off ``` In `crates/victory-gpu/src/pipeline.rs:328-358`, `builder_runs()` turns off **all 53** builder pipelines because those 3 prefix-scan kernels fail the first-lane read check inside a post-barrier accumulation loop where each half-wave reads the same LDS subtotal and the first-lane read of the accumulated total can safely remain local. Resolving those 3 stages brings `53/53` BVH builder stages online on RTX 5080. ## 3. Standalone Mesh Output Limit (>32 KiB) On Wave32/strict DXIL targets, mesh shader `72da0ba1efaec1e0` paired with pixel shader `52f3df4aa5649b6a` emits `34,816` bytes of standalone vertex+primitive outputs (`68` scalar vertex outputs at `128` vertices/`128` primitives), exceeding DXIL's `32,768`-byte limit. Intersecting the mesh `OSG1` output mask with the paired pixel shader's `ISG1` read mask and pruning only unread arbitrary semantics (while preserving system values, channel indices, and packed addressing) reduces linked output size to `31,232` bytes and passes DXIL validation + RTX 5080 pipeline creation cleanly. (Useful for both native mesh pipelines and open PR #20's mesh fallback.)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:31:28 +00:00
Author
Owner

@⁠Pavl3000 on GitHub · 2026-11-26 01:22 UTC · original

Second host (RTX 3080 Ti, 32-lane), same nine programs — two data points that may save someone a run

Windows 10.0.26200, Ryzen 9 9950X3D, tree 0a43566, D3D12 reports host wave lanes min=32 max=32. All nine programs named above are refused here too. Two things I can add.

1. VICTORY_WAVE_WIDE=1 makes six of them create — including two this issue lists as refused. Verified by making the pipelines, not by reading logs. victory translate <archive> --warm <file of hashes> --pipelines (a local branch; happy to send it) builds the compute PSO for each named hash in 8 seconds instead of sweeping 26k of them:

created  2cc4c197ee29e291  CS_Tiling_Generate_Opaque
created  369cbe906ea72764  CS_Visibility
created  5dc3b25986622949  CS_TransmissionVolumetrics_Tiled
created  6f225b641c5b0708  CS_TransmissionVolumetrics_Tiled_LocalLights
created  a10179ab7eda0dc3  CS_TransmissionVolumetrics_VolumePortalsOnly
created  926c46bab3b86bd6  CS_TransmissionVolumetricsSubmerged
REFUSED  2da4beb386509b77  (256) AlphaTransmissionPrefilterMip
REFUSED  02384a60fda6f2d0  (128) DefragHeap_ComputeRelocations
REFUSED  6b82bc7d22016cb5 (1024) CollectTriangles_Meshlets

with WAVE64-WIDE 29 branches taken wave-wide then WAVE64-RETRY wave-wide branches: wave Some(32) under VICTORY_WAVE_WHY=1. The three that stay at 64 are the ones this issue already describes for 128/256/1024 groups; WAVE64-WIDE not tried: thread groups of [256, 1, 1] says so directly.

2. But running those six loses the card, and the bisect says the six, not the rest. With VICTORY_WAVE_WIDE=1: 3 refusals instead of 9, then

ERROR victory_gpu::host: host GPU device removed after 18 submissions sent ahead ...
device removed: ... (0x887A0006)          ← DXGI_ERROR_DEVICE_HUNG

after 253, 21 and 21 lines of frames across three runs, always in the first cutscene or the first seconds of the world. The switch changes the form of 57 programs (measured by diffing two translate --list runs at identical host settings). Skipping the other 51 and keeping only the six still loses the card, so the deadlock is in the passes the world needs.

The placement argument as it reads in 0a43566: exchange_halves emits two group barriers in the current block; wave_wide checks only that the branch block is all-lane; branches_around selects work by lane_regions, which knows per-lane branch regions but nothing about loop membership (there is no blocks_in_loops in this tree — this issue names one in a branch that has it). A barrier in an all-lane block inside a loop whose trip count differs between the two halves is unreachable for one of them, which is the hazard the comment above widen records. It lines up with the “staged loop-safe wave widening” direction in this issue: that has to land before VICTORY_WAVE_WIDE=1 can be used for these programs at all.

3. For anyone else seeing “the image never updates / smeared world” on NVIDIA, the ablation in #35 is exact here too: THIN=1, JOIN_PARTS=8 → frozen and smeared; THIN=0, JOIN_PARTS=1, LATE_WAIT_LISTS=32 → image updates normally at 1080p. That is separate from the nine, and worth doing first because it makes the rest observable.

I can test any branch that touches widen on this card: 8 seconds for the nine pipelines, and one run to see whether it hangs.

**@⁠Pavl3000** on GitHub · 2026-11-26 01:22 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/37#issuecomment-7179714984) Second host (RTX 3080 Ti, 32-lane), same nine programs — two data points that may save someone a run Windows 10.0.26200, Ryzen 9 9950X3D, tree `0a43566`, D3D12 reports `host wave lanes min=32 max=32`. All nine programs named above are refused here too. Two things I can add. **1. `VICTORY_WAVE_WIDE=1` makes six of them create — including two this issue lists as refused.** Verified by making the pipelines, not by reading logs. `victory translate <archive> --warm <file of hashes> --pipelines` (a local branch; happy to send it) builds the compute PSO for each named hash in 8 seconds instead of sweeping 26k of them: ``` created 2cc4c197ee29e291 CS_Tiling_Generate_Opaque created 369cbe906ea72764 CS_Visibility created 5dc3b25986622949 CS_TransmissionVolumetrics_Tiled created 6f225b641c5b0708 CS_TransmissionVolumetrics_Tiled_LocalLights created a10179ab7eda0dc3 CS_TransmissionVolumetrics_VolumePortalsOnly created 926c46bab3b86bd6 CS_TransmissionVolumetricsSubmerged REFUSED 2da4beb386509b77 (256) AlphaTransmissionPrefilterMip REFUSED 02384a60fda6f2d0 (128) DefragHeap_ComputeRelocations REFUSED 6b82bc7d22016cb5 (1024) CollectTriangles_Meshlets ``` with `WAVE64-WIDE 29 branches taken wave-wide` then `WAVE64-RETRY wave-wide branches: wave Some(32)` under `VICTORY_WAVE_WHY=1`. The three that stay at 64 are the ones this issue already describes for 128/256/1024 groups; `WAVE64-WIDE not tried: thread groups of [256, 1, 1]` says so directly. **2. But running those six loses the card, and the bisect says the six, not the rest.** With `VICTORY_WAVE_WIDE=1`: 3 refusals instead of 9, then ``` ERROR victory_gpu::host: host GPU device removed after 18 submissions sent ahead ... device removed: ... (0x887A0006) ← DXGI_ERROR_DEVICE_HUNG ``` after 253, 21 and 21 lines of frames across three runs, always in the first cutscene or the first seconds of the world. The switch changes the form of **57** programs (measured by diffing two `translate --list` runs at identical host settings). Skipping the other 51 and keeping only the six still loses the card, so the deadlock is in the passes the world needs. The placement argument as it reads in `0a43566`: `exchange_halves` emits two group barriers in the current block; `wave_wide` checks only that the *branch block* is all-lane; `branches_around` selects work by `lane_regions`, which knows per-lane branch regions but nothing about loop membership (there is no `blocks_in_loops` in this tree — this issue names one in a branch that has it). A barrier in an all-lane block inside a loop whose trip count differs between the two halves is unreachable for one of them, which is the hazard the comment above `widen` records. It lines up with the “staged loop-safe wave widening” direction in this issue: that has to land before `VICTORY_WAVE_WIDE=1` can be used for these programs at all. **3. For anyone else seeing “the image never updates / smeared world” on NVIDIA**, the ablation in #35 is exact here too: `THIN=1, JOIN_PARTS=8` → frozen and smeared; `THIN=0, JOIN_PARTS=1, LATE_WAIT_LISTS=32` → image updates normally at 1080p. That is separate from the nine, and worth doing first because it makes the rest observable. I can test any branch that touches `widen` on this card: 8 seconds for the nine pipelines, and one run to see whether it hangs.
Author
Owner

@⁠Mumogg on GitHub · 2026-11-26 01:23 UTC · original

On the VICTORY_BVH_BUILDER=1 part: on an RTX 5070 Ti (Linux, Wine + vkd3d-proton) the builder gets to 53/53 host pipelines and stays on in game ("the ray-tracing structure builder runs") with two changes on top of 0a43566:

  • the three prefix-scan kernels (the v_readfirstlane under divergence ones): fxceless/victory-fork#497's first-lane fix, commits 54f3815 and 3e36c41;
  • the two rehydration kernels dispatched by a thread count: #66, which keeps the lanes past the count for the halves' barriers and masks them out of memory, ballots and reductions on 32-lane hosts.

The 6 refused WaveSize 64 PSOs outside the builder are a separate matter; I have not looked at them. In-game testing with RT on NVIDIA is still in progress (#67).

AI-assisted (Claude Code).

**@⁠Mumogg** on GitHub · 2026-11-26 01:23 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/37#issuecomment-7179723803) On the `VICTORY_BVH_BUILDER=1` part: on an RTX 5070 Ti (Linux, Wine + vkd3d-proton) the builder gets to **53/53 host pipelines** and stays on in game ("the ray-tracing structure builder runs") with two changes on top of `0a43566`: - the three prefix-scan kernels (the `v_readfirstlane` under divergence ones): fxceless/victory-fork#497's first-lane fix, commits `54f3815` and `3e36c41`; - the two rehydration kernels dispatched by a thread count: #66, which keeps the lanes past the count for the halves' barriers and masks them out of memory, ballots and reductions on 32-lane hosts. The 6 refused `WaveSize 64` PSOs outside the builder are a separate matter; I have not looked at them. In-game testing with RT on NVIDIA is still in progress (#67). *AI-assisted (Claude Code).*
Author
Owner

@⁠Pavl3000 on GitHub · 2026-11-26 02:25 UTC · original

Follow-up from the same 32-lane host: two changes in widen take the refusals here from nine to one.

1. all_lanes answered false for a block index outside the all-lane map. all.get(b).copied().unwrap_or(false) said "not every lane runs it" about blocks the analysis never saw; that put a spurious need(block) in front of the widening, which then looked for branches around a block no lane region holds and gave up (WAVE64-WIDE stopped with 1 branches wave-wide: a branch around it cannot be). Unknown is not "some lanes leave it out" — with unwrap_or(true), water_shading:CS_TransmissionVolumetrics_VolumePortalsOnly started creating like the rest.

2. The wave-wide decision now covers the whole group, which is what lets widen take a group holding several console waves at all. Each console wave already writes its own pair of exchange dwords (exchange_pair: slot + 2 * (thread >> 6)) and the barrier at the end of exchange_halves has them all in place, so wave_wide ORs every pair of threads.div_ceil(64) into its answer instead of only its own half's. No new primitive, only 2n LDS loads per thread at a widened branch.

Measured with --warm <hashes> --pipelines (nine pipelines in ~2 s), then by a game run:

created  369cbe906ea72764  CS_Visibility                        (3 barriers, 0 illegal)
created  2cc4c197ee29e291  CS_Tiling_Generate_Opaque           (51, 0)
created  5dc3b25986622949  CS_TransmissionVolumetrics_Tiled    (613, 0)
created  6f225b641c5b0708  ..._LocalLights                     (767, 0)
created  02384a60fda6f2d0  CS_DefragHeap_ComputeRelocations    (255, 0)   128-thread group
created  6b82bc7d22016cb5  CS_CollectTriangles_Meshlets        (326, 30)  1024-thread group
created  a10179ab7eda0dc3  ..._VolumePortalsOnly              (2854, 78)
created  926c46bab3b86bd6  CS_TransmissionVolumetricsSubmerged
REFUSED  2da4beb386509b77  CS_AlphTransmissionPrefilterMip (256)

(the counts are group barriers emitted by VICTORY_WAVE_WHY=1 and how many of them stand in a block not every lane runs; a barrier there is one a group can never satisfy, so group_sync now records need(block) and widen refuses the program when nothing is left to widen — otherwise such a program is a guaranteed 0x887A0006.)

The five passes that ran, including both world passes, had no illegal barrier at all. The card was still lost after 74 s of frames.

So barrier legality and a group-wide decision are necessary and are now in place, but not sufficient: what is left is what this issue names beyond them — v_mbcnt and lane masks read as data inside divergent regions, and the 32 KiB shared-memory budget of the 1024-thread group. I have the patch on a local branch and can cut it into a PR, or test any branch of yours that moves those two; the nine-pipeline check answers in two seconds.

**@⁠Pavl3000** on GitHub · 2026-11-26 02:25 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/37#issuecomment-7180789826) Follow-up from the same 32-lane host: two changes in `widen` take the refusals here from **nine to one**. **1. `all_lanes` answered `false` for a block index outside the all-lane map.** `all.get(b).copied().unwrap_or(false)` said "not every lane runs it" about blocks the analysis never saw; that put a spurious `need(block)` in front of the widening, which then looked for branches around a block no lane region holds and gave up (`WAVE64-WIDE stopped with 1 branches wave-wide: a branch around it cannot be`). Unknown is not "some lanes leave it out" — with `unwrap_or(true)`, `water_shading:CS_TransmissionVolumetrics_VolumePortalsOnly` started creating like the rest. **2. The wave-wide decision now covers the whole group,** which is what lets `widen` take a group holding several console waves at all. Each console wave already writes its own pair of exchange dwords (`exchange_pair`: `slot + 2 * (thread >> 6)`) and the barrier at the end of `exchange_halves` has them all in place, so `wave_wide` ORs every pair of `threads.div_ceil(64)` into its answer instead of only its own half's. No new primitive, only `2n` LDS loads per thread at a widened branch. Measured with `--warm <hashes> --pipelines` (nine pipelines in ~2 s), then by a game run: ``` created 369cbe906ea72764 CS_Visibility (3 barriers, 0 illegal) created 2cc4c197ee29e291 CS_Tiling_Generate_Opaque (51, 0) created 5dc3b25986622949 CS_TransmissionVolumetrics_Tiled (613, 0) created 6f225b641c5b0708 ..._LocalLights (767, 0) created 02384a60fda6f2d0 CS_DefragHeap_ComputeRelocations (255, 0) 128-thread group created 6b82bc7d22016cb5 CS_CollectTriangles_Meshlets (326, 30) 1024-thread group created a10179ab7eda0dc3 ..._VolumePortalsOnly (2854, 78) created 926c46bab3b86bd6 CS_TransmissionVolumetricsSubmerged REFUSED 2da4beb386509b77 CS_AlphTransmissionPrefilterMip (256) ``` (the counts are group barriers emitted by `VICTORY_WAVE_WHY=1` and how many of them stand in a block not every lane runs; a barrier there is one a group can never satisfy, so `group_sync` now records `need(block)` and `widen` refuses the program when nothing is left to widen — otherwise such a program is a guaranteed `0x887A0006`.) The five passes that ran, including both world passes, had **no illegal barrier at all**. The card was still lost after 74 s of frames. So barrier legality and a group-wide decision are necessary and are now in place, but not sufficient: what is left is what this issue names beyond them — `v_mbcnt` and lane masks read as data inside divergent regions, and the 32 KiB shared-memory budget of the 1024-thread group. I have the patch on a local branch and can cut it into a PR, or test any branch of yours that moves those two; the nine-pipeline check answers in two seconds.
Author
Owner

@⁠gomeaw on GitHub · 2026-11-26 07:18 UTC · original

#142 covers the three first-lane prefix scans. Windows reproduced the refusal on current main and accepted the patched DXIL while continuing to reject a variant whose two halves could read different subtotals. It keeps VICTORY_BVH_BUILDER opt-in.

For an RTX comparison with the original 0a43566 runs, test/nvidia-bvh at 2165511 also includes #66's counted partial dispatches. Its Windows run verified both new synthetic programs with the SDK validator. The existing hardware results in #66 and #67 used other builds.

A run on this exact branch with VICTORY_BVH_BUILDER=1 can check the three hashes, the builder's stage count, and whether the same scene remains stable once the builder starts. The two wave32 dispatch tests can also check the shader outputs independently of gameplay.

**@⁠gomeaw** on GitHub · 2026-11-26 07:18 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/37#issuecomment-7185311968) #142 covers the three first-lane prefix scans. Windows reproduced the refusal on current main and accepted the patched DXIL while continuing to reject a variant whose two halves could read different subtotals. It keeps `VICTORY_BVH_BUILDER` opt-in. For an RTX comparison with the original `0a43566` runs, [`test/nvidia-bvh` at `2165511`](https://github.com/gomeaw/VIctory-7900XTX/tree/2165511be60b848171ee49a8b155854a70bc3265) also includes #66's counted partial dispatches. Its [Windows run](https://github.com/gomeaw/VIctory-7900XTX/actions/runs/45773772694) verified both new synthetic programs with the SDK validator. The existing hardware results in #66 and #67 used other builds. A run on this exact branch with `VICTORY_BVH_BUILDER=1` can check the three hashes, the builder's stage count, and whether the same scene remains stable once the builder starts. The two wave32 dispatch tests can also check the shader outputs independently of gameplay.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/avatarmanz--VIctory-7900XTX#37
No description provided.