Shaders: honor WARP-only mode in paired tests #2223

Open
andrewpozdnakov7-jpg wants to merge 3 commits from upstream-pr/2225 into main
andrewpozdnakov7-jpg commented 2026-11-25 08:20:08 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-25T08:20:08Z.


Change

Paired shader tests now use one adapter selector. With VICTORY_WARP=1, they run the WARP case once. Without the override, they keep both cases and try the hardware adapter first.

Previously the hardware case created WARP when the override was set. The explicit-LOD gather test then used WARP's native gather as its hardware reference, even though the test already accounts for the different rounding on WARP.

Verification

Same gather fixture on 940d32f69b22265690a0b5a15d6ded572ba33baf, with WARP forced. Before, the hardware comparison failed at lane 4. After, WARP executes and both translated gather paths match the expected footprint for all 32 records.

Full shader suite: 244 passed / 3 failed / 3 ignored before, 245 passed / 2 failed / 3 ignored after. The pre-existing lane-permute and edge-flagged mesh tests still fail on this WARP runtime. Strict shader Clippy and staged asset policy passed.

AI-assisted with Codex.

<!-- greyfinch-sync:Marvisak/VIctory:issue:5487709673 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-25T08:20:08Z. --- ## Change Paired shader tests now use one adapter selector. With `VICTORY_WARP=1`, they run the WARP case once. Without the override, they keep both cases and try the hardware adapter first. Previously the hardware case created WARP when the override was set. The explicit-LOD gather test then used WARP's native gather as its hardware reference, even though the test already accounts for the different rounding on WARP. ## Verification Same gather fixture on `940d32f69b22265690a0b5a15d6ded572ba33baf`, with WARP forced. Before, the hardware comparison failed at lane 4. After, WARP executes and both translated gather paths match the expected footprint for all 32 records. Full shader suite: 244 passed / 3 failed / 3 ignored before, 245 passed / 2 failed / 3 ignored after. The pre-existing lane-permute and edge-flagged mesh tests still fail on this WARP runtime. Strict shader Clippy and staged asset policy passed. AI-assisted with Codex.
DenRakEiw commented 2026-11-25 08:22:45 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T08:22:45Z.

Review: APPROVED


Verified locally merged onto origin/main (940d32f, Windows 11 x64, NVIDIA GeForce RTX 5090 + WARP, Rust 1.98.1 MSVC):

  • cargo test -p victory-shader --lib emit::memory_tests:: — 3 passed, 0 failed on both RTX 5090 hardware and VICTORY_D3D12_WARP=1
  • cargo clippy -p victory-shader --all-targets — 0 warnings
  • cargo xtask policy — ok (183 files ok)

Clean test_backends() helper honoring WARP-only mode across paired shader tests. Looks good.

AI-assisted (Gemini 4 Neon).

<!-- greyfinch-sync:Marvisak/VIctory:review:6054065120 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#pullrequestreview-6054065120). Originally posted by [DenRakEiw](https://github.com/DenRakEiw) on 2026-11-25T08:22:45Z. **Review:** APPROVED --- Verified locally merged onto `origin/main` (`940d32f`, Windows 11 x64, NVIDIA GeForce RTX 5090 + WARP, Rust 1.98.1 MSVC): - `cargo test -p victory-shader --lib emit::memory_tests::` — 3 passed, 0 failed on both RTX 5090 hardware and `VICTORY_D3D12_WARP=1` - `cargo clippy -p victory-shader --all-targets` — 0 warnings - `cargo xtask policy` — ok (`183 files ok`) Clean `test_backends()` helper honoring WARP-only mode across paired shader tests. Looks good. AI-assisted (Gemini 4 Neon).
catminou4 commented 2026-11-25 08:48:14 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T08:48:14Z.

Review: APPROVED


WARP-only mode honored in paired shader tests. Tested locally: merged into main 940d32f69b, cargo test -p victory-shader --locked on macOS arm64 — 144 passed, 0 failed, 2 ignored (Windows-gated hardware tests). Approving.

<!-- greyfinch-sync:Marvisak/VIctory:review:6054377279 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#pullrequestreview-6054377279). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-25T08:48:14Z. **Review:** APPROVED --- WARP-only mode honored in paired shader tests. Tested locally: merged into main 940d32f69b, `cargo test -p victory-shader --locked` on macOS arm64 — 144 passed, 0 failed, 2 ignored (Windows-gated hardware tests). Approving.
andrewpozdnakov7-jpg commented 2026-11-25 09:06:18 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-25T08:27:16Z.


I checked the remaining lane-permute failure separately. Native DXC HLSL with [WaveSize(32)] and WaveReadLaneAt(1000 + lane, (13 * lane + 5) & 31) reproduces it in the app-local WARP 1.0.22 / Agility 1.620.2 setup. All 32 variable-index reads differed from the expected lane. For example, the request for lane 5 returned 1017 instead of 1005. Applying the same ballot mask produced the same 32 output words as the translated fixture.

A native constant-index broadcast of lane 5 returned 1005, and selecting among 32 constant-index broadcasts returned the expected result for every lane. This isolates the remaining failure to the variable-index WARP shuffle seen by the existing test.

If you reuse the test changes or the native control in another commit, please preserve the original Git author. If you fold them into your own commit, please add:

Co-authored-by: andrewpozdnakov7-jpg [email protected]

<!-- greyfinch-sync:Marvisak/VIctory:comment:7157044248 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#issuecomment-7157044248). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-25T08:27:16Z. --- I checked the remaining lane-permute failure separately. Native DXC HLSL with `[WaveSize(32)]` and `WaveReadLaneAt(1000 + lane, (13 * lane + 5) & 31)` reproduces it in the app-local WARP 1.0.22 / Agility 1.620.2 setup. All 32 variable-index reads differed from the expected lane. For example, the request for lane 5 returned 1017 instead of 1005. Applying the same ballot mask produced the same 32 output words as the translated fixture. A native constant-index broadcast of lane 5 returned 1005, and selecting among 32 constant-index broadcasts returned the expected result for every lane. This isolates the remaining failure to the variable-index WARP shuffle seen by the existing test. If you reuse the test changes or the native control in another commit, please preserve the original Git author. If you fold them into your own commit, please add: Co-authored-by: andrewpozdnakov7-jpg <[email protected]>
kotekompotek commented 2026-11-25 10:07:41 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T09:21:47Z.


Checked the env semantics: warp_forced() matches Host::new exactly (v == "1"), so the selector can't diverge — new(false) under VICTORY_WARP=1 does build a second WARP device, making the "hardware" arm run WARP against WARP. Filtering that arm out is the right fix, and routing every paired test through one test_backends() keeps the policy in one place.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7158227985 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#issuecomment-7158227985). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-25T09:21:47Z. --- Checked the env semantics: `warp_forced()` matches `Host::new` exactly (`v == "1"`), so the selector can't diverge — `new(false)` under `VICTORY_WARP=1` does build a second WARP device, making the "hardware" arm run WARP against WARP. Filtering that arm out is the right fix, and routing every paired test through one `test_backends()` keeps the policy in one place.
sinan-cmyk commented 2026-11-25 11:05:32 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by sinan-cmyk on 2026-11-25T10:43:00Z.


Offline measurement on a retail dump

Result: no count change against main.

I merged head b3a68698 onto main 940d32f (clean merge) and ran victory translate --validate --list on shaders.rpf (1.0.2.1), with dxil.dll 1.8.2502.11. I compared the result with main program by program (25,889 programs). Validated: 23,918 on main, 23,918 with this PR.

No program changes its failure reason. The count shows that the change rejects nothing on this data. It does not show whether the output is right.

No shader names or data are included, per the asset policy. AI-assisted (Claude Code).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7160076484 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#issuecomment-7160076484). Originally posted by [sinan-cmyk](https://github.com/sinan-cmyk) on 2026-11-25T10:43:00Z. --- ### Offline measurement on a retail dump **Result: no count change against `main`.** I merged head b3a68698 onto `main` 940d32f (clean merge) and ran `victory translate --validate --list` on `shaders.rpf` (1.0.2.1), with dxil.dll 1.8.2502.11. I compared the result with `main` program by program (25,889 programs). Validated: 23,918 on `main`, 23,918 with this PR. No program changes its failure reason. The count shows that the change rejects nothing on this data. It does not show whether the output is right. No shader names or data are included, per the asset policy. AI-assisted (Claude Code).
Marvisak commented 2026-11-25 14:07:21 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T13:30:21Z.


Automated triage for the maintainers.

Merge candidate. Thanks for the follow-up. d239815 switches the paired-backend loops main gained to Host::test_backends() (crosslane, memory, stride, synthetic, VALU, waterfall, BVH, diff, flow and mod tests, check in semantics_tests.rs, and the FMad probe); merged with main, the literal [("hardware", false), ("warp", true)] now appears only inside test_backends (emit/host.rs), and warp_forced() is shared with Host::new, so VICTORY_WARP=1 no longer runs WARP under the "hardware" label.

CI: passing.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7163873366 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#issuecomment-7163873366). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T13:30:21Z. --- <!-- victory-triage v1 head=d23981587aacc1fe0d90fbe0378584a13e37dcba verdict=merge-candidate at=2026-11-26T04:22:40Z --> Automated triage for the maintainers. **Merge candidate.** Thanks for the follow-up. `d239815` switches the paired-backend loops `main` gained to `Host::test_backends()` (crosslane, memory, stride, synthetic, VALU, waterfall, BVH, diff, flow and mod tests, `check` in `semantics_tests.rs`, and the FMad probe); merged with `main`, the literal `[("hardware", false), ("warp", true)]` now appears only inside `test_backends` (`emit/host.rs`), and `warp_forced()` is shared with `Host::new`, so `VICTORY_WARP=1` no longer runs WARP under the "hardware" label. CI: passing. --- _Generated by [Claude Code](https://claude.ai/code)_
andrewpozdnakov7-jpg commented 2026-11-25 22:04:35 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-25T21:47:20Z.


I resolved the emit/host.rs merge conflict introduced by #244 in cd5f91f. The branch keeps the original authored commit b3a6869 and the shared WARP device and lock from upstream.

With VICTORY_WARP=1, the same gather fixture fails on 61bfc77 in the hardware-labelled lane 4 comparison in six runs. It passes on cd5f91f in all six. The serial shader suite moved from 271 passed / 5 failed / 3 ignored to 273 passed / 3 failed / 3 ignored. The remaining failures were present on the same upstream base: two WARP lane-permute cases and the edge-flagged triangle case. Strict shader Clippy with and without host support and asset policy passed.

Please preserve the Git author if moving the test changes. If they are folded into another commit, please retain this trailer.

Co-authored-by: andrewpozdnakov7-jpg [email protected]

AI-assisted with Codex. Synthetic shader fixtures on Windows/WARP.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7175539738 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#issuecomment-7175539738). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-25T21:47:20Z. --- I resolved the `emit/host.rs` merge conflict introduced by #244 in [cd5f91f](https://github.com/andrewpozdnakov7-jpg/VIctory/commit/cd5f91f014748d80bb84399a6110b31754c5e744). The branch keeps the original authored commit `b3a6869` and the shared WARP device and lock from upstream. With `VICTORY_WARP=1`, the same gather fixture fails on `61bfc77` in the hardware-labelled lane 4 comparison in six runs. It passes on `cd5f91f` in all six. The serial shader suite moved from 271 passed / 5 failed / 3 ignored to 273 passed / 3 failed / 3 ignored. The remaining failures were present on the same upstream base: two WARP lane-permute cases and the edge-flagged triangle case. Strict shader Clippy with and without host support and asset policy passed. Please preserve the Git author if moving the test changes. If they are folded into another commit, please retain this trailer. Co-authored-by: andrewpozdnakov7-jpg <[email protected]> AI-assisted with Codex. Synthetic shader fixtures on Windows/WARP.
andrewpozdnakov7-jpg commented 2026-11-26 04:06:11 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-26T03:09:39Z.


I checked how this branch composes with #2997. The exact #2225 head cd5f91f and #2997 head 92bfec2 merge cleanly on upstream 63bcca4.

Using the same app-local WARP, DXIL validator configuration, and serial shader test command, #2997 alone gives 300 passed, 2 failed, and 3 ignored. The combination gives 301 passed, 1 failed, and 3 ignored. The explicit-LOD gather test is the added pass, and both permutation checks still pass. The existing edge-flagged mesh triangle test reports 0 of 256 lit pixels on both trees with this WARP build.

Please keep my Git author if you move the paired-backend fix. If you fold it into another commit, please include:

Co-authored-by: andrewpozdnakov7-jpg [email protected]

AI-assisted with Codex. Synthetic shader fixtures.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7181449643 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#issuecomment-7181449643). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-26T03:09:39Z. --- I checked how this branch composes with #2997. The exact #2225 head `cd5f91f` and #2997 head `92bfec2` merge cleanly on upstream `63bcca4`. Using the same app-local WARP, DXIL validator configuration, and serial shader test command, #2997 alone gives 300 passed, 2 failed, and 3 ignored. The combination gives 301 passed, 1 failed, and 3 ignored. The explicit-LOD gather test is the added pass, and both permutation checks still pass. The existing edge-flagged mesh triangle test reports 0 of 256 lit pixels on both trees with this WARP build. Please keep my Git author if you move the paired-backend fix. If you fold it into another commit, please include: Co-authored-by: andrewpozdnakov7-jpg <[email protected]> AI-assisted with Codex. Synthetic shader fixtures.
andrewpozdnakov7-jpg commented 2026-11-26 04:06:28 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-26T03:53:13Z.


I merged current main 63bcca4 into d239815. I switched the eight remaining paired loops in crosslane, memory, stride, and synthetic tests to Host::test_backends(). Both VALU loops named in the review use the helper on the merged tree. The FMad probe now uses the same helper so forced WARP cannot run under its hardware label either.

With VICTORY_WARP=1 on Windows, the D16 probe requested two hardware-labelled cases plus two WARP cases before and only the two WARP cases after. The FMad probe went from one case with each label to one WARP case. With the override unset, both probes still attempt both backends. The serial app-local WARP run moved from 298 passed / 4 failed / 3 ignored to 299 passed / 3 failed / 3 ignored. The divergent lane-permute test now passes. The two remaining lane-permute failures and the edge-flagged triangle failure were present on the input tree. Strict shader Clippy and asset policy passed.

Please preserve my Git author if you move these test changes. If you fold them into another commit, please include:

Co-authored-by: andrewpozdnakov7-jpg [email protected]

AI-assisted with Codex. Synthetic Windows/WARP tests.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7182108467 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#issuecomment-7182108467). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-26T03:53:13Z. --- I merged current main `63bcca4` into [d239815](https://github.com/andrewpozdnakov7-jpg/VIctory/commit/d23981587aacc1fe0d90fbe0378584a13e37dcba). I switched the eight remaining paired loops in crosslane, memory, stride, and synthetic tests to `Host::test_backends()`. Both VALU loops named in the review use the helper on the merged tree. The FMad probe now uses the same helper so forced WARP cannot run under its hardware label either. With VICTORY_WARP=1 on Windows, the D16 probe requested two hardware-labelled cases plus two WARP cases before and only the two WARP cases after. The FMad probe went from one case with each label to one WARP case. With the override unset, both probes still attempt both backends. The serial app-local WARP run moved from 298 passed / 4 failed / 3 ignored to 299 passed / 3 failed / 3 ignored. The divergent lane-permute test now passes. The two remaining lane-permute failures and the edge-flagged triangle failure were present on the input tree. Strict shader Clippy and asset policy passed. Please preserve my Git author if you move these test changes. If you fold them into another commit, please include: Co-authored-by: andrewpozdnakov7-jpg <[email protected]> AI-assisted with Codex. Synthetic Windows/WARP tests.
fuzeofficlal commented 2026-11-26 19:13:05 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T19:13:05Z.

Review: APPROVED


Verified locally merged onto origin/main (63bcca43, Windows 11 x64, Rust 1.98.1 MSVC, RTX 5090 & WARP):

  • VICTORY_WARP=0 (hardware + WARP): hosts_that_do_not_fuse_are_named (1 passed, prints hardware adapter fuses FMad: true), emit::waterfall_tests:: (5 passed), emit::tests:: (17 passed), emit::memory_tests:: skipping pre-existing heap_direct_texture_reads_mark_their_heap_index crash (4 passed)
  • VICTORY_WARP=1 (WARP-only): hosts_that_do_not_fuse_are_named (1 passed, hardware arm skipped), emit::memory_tests:: (5 passed), emit::waterfall_tests:: (5 passed), emit::tests:: (17 passed), emit::crosslane_tests:: (5 passed), emit::bvh_tests:: (14 passed), emit::flow_tests:: (1 passed)
  • cargo clippy --locked -p victory-shader --all-targets -- -D warnings (default and --all-features) — 0 warnings
  • cargo xtask policy — ok (191 files ok)

Review notes

  • Host::test_backends() (#[cfg(test)]) cleanly filters out the ("hardware", false) arm when VICTORY_WARP=1, and hosts_that_do_not_fuse_are_named only runs the hardware FMad probe when the hardware arm is active.
  • Non-blocking catch: rectangles_get_their_fourth_corner (crates/victory-shader/src/emit/rect.rs:247) still loops for warp in [false, true] instead of using Host::test_backends(), so it still runs twice on WARP under VICTORY_WARP=1. Also note overlap with open #1991 on emit/host.rs and the test modules.
<!-- greyfinch-sync:Marvisak/VIctory:review:6079375803 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#pullrequestreview-6079375803). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-26T19:13:05Z. **Review:** APPROVED --- Verified locally merged onto `origin/main` (`63bcca43`, Windows 11 x64, Rust 1.98.1 MSVC, RTX 5090 & WARP): - `VICTORY_WARP=0` (hardware + WARP): `hosts_that_do_not_fuse_are_named` (**1 passed**, prints `hardware adapter fuses FMad: true`), `emit::waterfall_tests::` (**5 passed**), `emit::tests::` (**17 passed**), `emit::memory_tests::` skipping pre-existing `heap_direct_texture_reads_mark_their_heap_index` crash (**4 passed**) - `VICTORY_WARP=1` (WARP-only): `hosts_that_do_not_fuse_are_named` (**1 passed**, hardware arm skipped), `emit::memory_tests::` (**5 passed**), `emit::waterfall_tests::` (**5 passed**), `emit::tests::` (**17 passed**), `emit::crosslane_tests::` (**5 passed**), `emit::bvh_tests::` (**14 passed**), `emit::flow_tests::` (**1 passed**) - `cargo clippy --locked -p victory-shader --all-targets -- -D warnings` (default and `--all-features`) — 0 warnings - `cargo xtask policy` — ok (`191 files ok`) ### Review notes - `Host::test_backends()` (`#[cfg(test)]`) cleanly filters out the `("hardware", false)` arm when `VICTORY_WARP=1`, and `hosts_that_do_not_fuse_are_named` only runs the hardware FMad probe when the hardware arm is active. - **Non-blocking catch**: `rectangles_get_their_fourth_corner` (`crates/victory-shader/src/emit/rect.rs:247`) still loops `for warp in [false, true]` instead of using `Host::test_backends()`, so it still runs twice on WARP under `VICTORY_WARP=1`. Also note overlap with open #1991 on `emit/host.rs` and the test modules.
kilolimaVI commented 2026-11-26 20:23:55 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kilolimaVI on 2026-11-26T20:23:55Z.


Verified on Windows 11 with an AMD Radeon 780M (RDNA3 iGPU, Ryzen 7 8845HS), toolchain 1.98.1, cargo test -p victory-shader --lib --locked -- --test-threads=1:

VICTORY_WARP=1 hardware (780M)
main 63bcca4 298 passed, 4 failed 302 passed
this PR 302 passed 302 passed

The four on main with VICTORY_WARP=1 are the synthetic_tests cases this PR touches (gathers_at_a_level_match_the_hardware, permutes_read_the_lane_named_and_zero_from_lanes_left_out, permutes_mask_high_address_bits_and_divergent_branches, a_mask_joined_with_data_at_a_uniform_loop_is_its_number): their "hardware" pass ran on WARP and made the hardware-only checks ("lane 4 against its gather"). With this PR they pass on WARP-only, and nothing changes on the real card.

Also relevant to FIND-5: on this RDNA3 card the whole victory-shader lib suite passes on the hardware adapter, so none of its expected values disagree with AMD hardware here.

AI-assisted (Claude).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7202629442 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2225#issuecomment-7202629442). Originally posted by [kilolimaVI](https://github.com/kilolimaVI) on 2026-11-26T20:23:55Z. --- Verified on Windows 11 with an AMD Radeon 780M (RDNA3 iGPU, Ryzen 7 8845HS), toolchain 1.98.1, `cargo test -p victory-shader --lib --locked -- --test-threads=1`: | | `VICTORY_WARP=1` | hardware (780M) | |---|---|---| | main 63bcca4 | 298 passed, **4 failed** | 302 passed | | this PR | 302 passed | 302 passed | The four on main with `VICTORY_WARP=1` are the synthetic_tests cases this PR touches (`gathers_at_a_level_match_the_hardware`, `permutes_read_the_lane_named_and_zero_from_lanes_left_out`, `permutes_mask_high_address_bits_and_divergent_branches`, `a_mask_joined_with_data_at_a_uniform_loop_is_its_number`): their "hardware" pass ran on WARP and made the hardware-only checks ("lane 4 against its gather"). With this PR they pass on WARP-only, and nothing changes on the real card. Also relevant to FIND-5: on this RDNA3 card the whole victory-shader lib suite passes on the hardware adapter, so none of its expected values disagree with AMD hardware here. AI-assisted (Claude).
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/2225:upstream-pr/2225'
git switch 'upstream-pr/2225'

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/2225'
git switch 'upstream-pr/2225'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2225'
git switch 'upstream-pr/2225'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2225'
git switch 'main'
git merge --squash 'upstream-pr/2225'
git switch 'main'
git merge --ff-only 'upstream-pr/2225'
git switch 'main'
git merge 'upstream-pr/2225'
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
Marvisak/VIctory!2223
No description provided.