Recompiler: direct PS compares skip the per-quad mask where no helper bit is read #2571

Open
github-bot wants to merge 1 commit from github-bot/gh-2571 into main AGit
Owner

@⁠Kalmarv on GitHub · 2026-11-25 23:17 UTC · original
Kalmarv:direct-ps-local-masks → main · +610 −5 · 7 files · 1 commits · open

Since #2083 every pixel-shader compare on the direct DXIL route rebuilds its quad's four bits: quad reads of its VGPR operands and four WaveActiveBallot passes. That is right for masks whose helper-lane bits are read, but it is used for every compare. On the 610 pixel shaders of title ea3b5e4d, it makes the DXIL 1.42× larger than before #2083 (median 1.36×). @⁠MarcosMDev measured +28 % to +81 % driver time on an RTX 4060 in #2083, and found that a mask only v_cndmask reads needs no ballot.

This PR picks the cheapest form each compare's mask allows, from a forward dataflow analysis (recomp/ps_masks.rs):

  • own bit: a mask that is never read whole (x64_masks) takes the lane's own bit, as @⁠MarcosMDev's variant in #2083 did;
  • WaveActiveBallot(c) | own bit (the HLSL path's ballot_px_local): a mask that is read whole, but where nothing reads another lane's helper bit. In this form every lane's copy has the live lanes' bits and its own bit right. So EXEC predication, v_cndmask and carry-ins stay exact in helper lanes, and so do the values they compute for later derivatives. The analysis refuses the form where something reads another lane's bit:
    • a non-bitwise SALU (s_cmp, s_wqm, s_bcnt …), SCC or VCCZ of the mask, or a scalar operand;
    • DPP, ds_swizzle / bpermute or permlane while EXEC carries the mask (they read the source lane's bit of the reader's EXEC);
    • v_readfirstlane under it (waterfall loops);
    • SGPRs, SCC or a widened EXEC that a branch on such an EXEC makes differ between lanes after it.
      A register known to be a subset of the entry EXEC (the live-pixel mask a kill updates) has no helper bits, so it is exact whatever it was computed from;
  • cond ? EXEC : 0: a compare of scalar / constant operands;
  • every other compare keeps #2083's form, and ORs in its own bit, which the quad's other lanes may not have seen in their copy of EXEC.

None of the new forms has a quad op, so #134's AMD constraint holds: the kept compares still quad-read their operands, never the predicate.

On the 610 PS (110,821 compares) the forms split as:

form compares
own bit 43.0 %
ballot | own bit 30.7 %
cond ? EXEC : 0 3.6 %
kept (#2083's form) 22.7 %

The main reasons a compare is kept (shares of the whole-read masks, first reason only):

  • s_cbranch_vccz on the mask: 20 %;
  • s_andn2_wrexec / s_mov exec changes inside a branch on it: 7 %;
  • v_readfirstlane: 4 %;
  • SCC of a non-EXEC mask: 4 %.

Part of #156. Follows #2083.

What is in it

  • crates/xcl/src/gpu/recomp/ps_masks.rs: the analysis (forms), with unit tests.
  • crates/xcl/src/gpu/dxil/lower_valu.rs, lanes.rs: Lw::vopc takes the chosen form; Lw::ballot_ps_local; kept compares OR in their own bit. kernel.rs computes the forms for pixel shaders (not the split form), compact.rs keys blocks on them, and TRANSLATOR_VERSION 10.
  • lanes.rs test: #2083's standalone v_cmp read only by v_cndmask now expects no quad reads.
  • TRANSLATOR_VERSION 10 is also taken by my wave64-split PR; whichever lands second rebases to 11.

Tested

  • RTX 5070 Ti (NVIDIA 610.74), Ryzen 9 9950X, Windows 11 26200, rustc 1.99.0, DXC 1.9.2609, release.
  • DXIL, xcl shaders --direct --windows 4 --split 0 --validate on the 610 PS of title ea3b5e4d (DXC 1.9.2609): 0 errors, all validated on both sides.
    • Total 244.5 MB on main → 191.6 MB (×0.784); per program median ×0.81, best ×0.40.
    • Against before #2083 (e44af706): main is ×1.415 in total, this PR ×1.109.
  • DXIL instructions (dxc -dumpbin, function bodies) on 22 of them (the median and the largest growth under #2083, 20 random): 1,120,934 on main → 824,591 (×0.736); per program median ×0.79, best ×0.39. DXIL bytes on the same 22: 7.65 MB → 5.76 MB.
  • Driver compile time, RTX 5070 Ti: cold CreateGraphicsPipelineState (driver shader cache off with ShaderCacheControl) of each of the 22 PS with a pass-through VS, main and this PR alternating, two repeats (local harness, not in this PR):
    • repeat 1: 174.3 s on main → 128.6 s (−26 %); repeat 2: 164.5 s → 135.4 s (−18 %);
    • driver blob 9.87 MB → 7.94 MB (−20 %);
    • per program the ratio is 0.28 to 1.30 (other builds ran on the machine); 16 of the 22 are faster over both repeats.
  • The title's own pipelines, through the runtime path (XCL_DIRECT_DXIL=all; VS and PS take the non-split direct form there): the 509 PS behind its cold graphics pipelines are 104.4 MiB of DXIL on main and 72.1 MiB here (−31 %), 16.62 M → 11.12 M instructions; VS unchanged; 0 failures.
  • GPU tests (RTX 5070 Ti), lib tests built from this head plus a local xcl shaders reporting patch (CLI only, not in this PR): ps_ballot_tests 4 passed (with #2083's gpu_direct_ps_masks_hold_helper_lanes_on_triangle_edges: ddx, ddy and a waterfall loop on triangle edges); XCL_DIRECT_DXIL=all, gpu_ps_: 8 passed; XCL_DIRECT_DXIL=all, gpu_wave64_ps: 2 passed; 0 failed, 0 skipped.
  • cargo test --release --workspace --no-fail-fast -- --test-threads=4 on the RTX 5070 Ti (XCL_DXC_DIR = DXC 1.9.2609): 1426 passed, 0 failed, 46 ignored. SKIPPED (15 tests): the wave64 cases (no wave64 on this GPU) of lower_dxil / lower / kernel tests, gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware; the f16 / f32-conversion per-lane cases (refused forms); heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • The same with no GPU (XCL_ADAPTER=nomatch): 1426 passed, 0 failed, 46 ignored. Two earlier runs of the lib binary ended in an access violation inside tls::tests, which this PR does not touch; those tests pass alone (15 of 15 runs).
  • RTX 2060 (NVIDIA 595.91) under Wine (wine-staging 11.21) + vkd3d-proton 30b0eb9, windows-gnu release lib tests, this head and main e1d84b7d, XCL_DIRECT_DXIL=all:
    • ps_ballot_tests 4/0/0, gpu_ps_ 8/0/0, gpu_wave64_ps 2/0/0 on both, no SKIPPED;
    • gpu::: 700 passed, 3 failed, 22 ignored here, 697/3/22 on main (the 3 more are the new ps_masks tests). The same 3 fail on both (f64 / f16 rounding on that stack) and the same 13 tests print SKIPPED on both.

Regression run
scripts/smoke.ps1, 60 s, XCL_DIRECT_DXIL=all (so the title's pixel shaders take the direct route this PR changes), main then this head back to back in one job. It ran beside two non-title jobs on the same machine, the same two during both runs.

main:

xcl-smoke v1
commit: e1d84b7d9153f86a97d2ec5d209d196046fc0bea
gpu: NVIDIA GeForce RTX 5070 Ti
title: ea3b5e4d
seconds: 60
exit: 0x0
frames shown: 1426 (PresentX 1427)
presents per 2 s (last 3): 41 17 9
device removals: 0
crashes: 0
peak commit: 20741 MB

this PR:

xcl-smoke v1
commit: ad0ded91d9fac08d27631c8c09b2b83c9c923adf
gpu: NVIDIA GeForce RTX 5070 Ti
title: ea3b5e4d
seconds: 60
exit: 0x0
frames shown: 1563 (PresentX 1563)
presents per 2 s (last 3): 50 24 57
device removals: 0
crashes: 0
peak commit: 17721 MB

Tested by others

  • RTX 3060 Ti, @⁠DavidM1911: cargo test -p xcl --lib on this branch merged with main: all passed, 0 failed, 26 ignored.

Not tested

  • AMD. Thanks to @⁠luckyteagirl for the RX 6800M run (AMD 30.0.13002.13003): gpu_direct_ps_masks_hold_helper_lanes_on_triangle_edges exits 0xc0000005 before a result on this head and on an earlier head (#2514, 57853e01); the Windows Application Error events put all three crashes inside amdxc64.dll at the same offset (0x6b097b). So the crash is in the driver and not new here; it does not show whether this PR's shaders reach it more or less often. The new forms add no quad op (#134's constraint).
  • Intel.
  • The split form (wave64 on 32-lane hardware) keeps #2083's form everywhere.
  • The HLSL path is unchanged: it still uses ballot_px for every whole-live mask.

AI use

  • Claude Code, Claude Opus 5.5: wrote the analysis, the lowering and the tests, ran the measurements and wrote this description.

🤖 Generated with Claude Code

**@⁠Kalmarv** on GitHub · 2026-11-25 23:17 UTC · [original](https://github.com/xcl-dev/xcl/pull/2571) `Kalmarv:direct-ps-local-masks` → `main` · +610 −5 · 7 files · 1 commits · open Since #2083 every pixel-shader compare on the direct DXIL route rebuilds its quad's four bits: quad reads of its VGPR operands and four `WaveActiveBallot` passes. That is right for masks whose helper-lane bits are read, but it is used for every compare. On the 610 pixel shaders of title ea3b5e4d, it makes the DXIL 1.42× larger than before #2083 (median 1.36×). @⁠MarcosMDev measured +28 % to +81 % driver time on an RTX 4060 in #2083, and found that a mask only `v_cndmask` reads needs no ballot. This PR picks the cheapest form each compare's mask allows, from a forward dataflow analysis (`recomp/ps_masks.rs`): - **own bit**: a mask that is never read whole (`x64_masks`) takes the lane's own bit, as @⁠MarcosMDev's variant in #2083 did; - **`WaveActiveBallot(c) | own bit`** (the HLSL path's `ballot_px_local`): a mask that is read whole, but where nothing reads another lane's helper bit. In this form every lane's copy has the live lanes' bits and its own bit right. So EXEC predication, `v_cndmask` and carry-ins stay exact in helper lanes, and so do the values they compute for later derivatives. The analysis refuses the form where something reads another lane's bit: - a non-bitwise SALU (`s_cmp`, `s_wqm`, `s_bcnt` …), SCC or VCCZ of the mask, or a scalar operand; - DPP, `ds_swizzle` / `bpermute` or permlane while EXEC carries the mask (they read the source lane's bit of the reader's EXEC); - `v_readfirstlane` under it (waterfall loops); - SGPRs, SCC or a widened EXEC that a branch on such an EXEC makes differ between lanes after it. A register known to be a subset of the entry EXEC (the live-pixel mask a kill updates) has no helper bits, so it is exact whatever it was computed from; - **`cond ? EXEC : 0`**: a compare of scalar / constant operands; - every other compare keeps #2083's form, and ORs in its own bit, which the quad's other lanes may not have seen in their copy of EXEC. None of the new forms has a quad op, so #134's AMD constraint holds: the kept compares still quad-read their operands, never the predicate. On the 610 PS (110,821 compares) the forms split as: | form | compares | |---|---:| | own bit | 43.0 % | | ballot \| own bit | 30.7 % | | cond ? EXEC : 0 | 3.6 % | | kept (#2083's form) | 22.7 % | The main reasons a compare is kept (shares of the whole-read masks, first reason only): - `s_cbranch_vccz` on the mask: 20 %; - `s_andn2_wrexec` / `s_mov exec` changes inside a branch on it: 7 %; - `v_readfirstlane`: 4 %; - SCC of a non-EXEC mask: 4 %. Part of #156. Follows #2083. **What is in it** - `crates/xcl/src/gpu/recomp/ps_masks.rs`: the analysis (`forms`), with unit tests. - `crates/xcl/src/gpu/dxil/lower_valu.rs`, `lanes.rs`: `Lw::vopc` takes the chosen form; `Lw::ballot_ps_local`; kept compares OR in their own bit. `kernel.rs` computes the forms for pixel shaders (not the split form), `compact.rs` keys blocks on them, and `TRANSLATOR_VERSION` 10. - `lanes.rs` test: #2083's standalone `v_cmp` read only by `v_cndmask` now expects no quad reads. - `TRANSLATOR_VERSION` 10 is also taken by my wave64-split PR; whichever lands second rebases to 11. **Tested** - RTX 5070 Ti (NVIDIA 610.74), Ryzen 9 9950X, Windows 11 26200, rustc 1.99.0, DXC 1.9.2609, release. - DXIL, `xcl shaders --direct --windows 4 --split 0 --validate` on the 610 PS of title ea3b5e4d (DXC 1.9.2609): 0 errors, all validated on both sides. - Total 244.5 MB on main → 191.6 MB (×0.784); per program median ×0.81, best ×0.40. - Against before #2083 (e44af706): main is ×1.415 in total, this PR ×1.109. - DXIL instructions (`dxc -dumpbin`, function bodies) on 22 of them (the median and the largest growth under #2083, 20 random): 1,120,934 on main → 824,591 (×0.736); per program median ×0.79, best ×0.39. DXIL bytes on the same 22: 7.65 MB → 5.76 MB. - Driver compile time, RTX 5070 Ti: cold `CreateGraphicsPipelineState` (driver shader cache off with `ShaderCacheControl`) of each of the 22 PS with a pass-through VS, main and this PR alternating, two repeats (local harness, not in this PR): - repeat 1: 174.3 s on main → 128.6 s (−26 %); repeat 2: 164.5 s → 135.4 s (−18 %); - driver blob 9.87 MB → 7.94 MB (−20 %); - per program the ratio is 0.28 to 1.30 (other builds ran on the machine); 16 of the 22 are faster over both repeats. - The title's own pipelines, through the runtime path (`XCL_DIRECT_DXIL=all`; VS and PS take the non-split direct form there): the 509 PS behind its cold graphics pipelines are 104.4 MiB of DXIL on main and 72.1 MiB here (−31 %), 16.62 M → 11.12 M instructions; VS unchanged; 0 failures. - GPU tests (RTX 5070 Ti), lib tests built from this head plus a local `xcl shaders` reporting patch (CLI only, not in this PR): `ps_ballot_tests` 4 passed (with #2083's `gpu_direct_ps_masks_hold_helper_lanes_on_triangle_edges`: ddx, ddy and a waterfall loop on triangle edges); `XCL_DIRECT_DXIL=all`, `gpu_ps_`: 8 passed; `XCL_DIRECT_DXIL=all`, `gpu_wave64_ps`: 2 passed; 0 failed, 0 skipped. - `cargo test --release --workspace --no-fail-fast -- --test-threads=4` on the RTX 5070 Ti (`XCL_DXC_DIR` = DXC 1.9.2609): 1426 passed, 0 failed, 46 ignored. `SKIPPED` (15 tests): the wave64 cases (no wave64 on this GPU) of `lower_dxil` / `lower` / kernel tests, `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`; the f16 / f32-conversion per-lane cases (refused forms); `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - The same with no GPU (`XCL_ADAPTER=nomatch`): 1426 passed, 0 failed, 46 ignored. Two earlier runs of the lib binary ended in an access violation inside `tls::tests`, which this PR does not touch; those tests pass alone (15 of 15 runs). - RTX 2060 (NVIDIA 595.91) under Wine (wine-staging 11.21) + vkd3d-proton 30b0eb9, windows-gnu release lib tests, this head and main e1d84b7d, `XCL_DIRECT_DXIL=all`: - `ps_ballot_tests` 4/0/0, `gpu_ps_` 8/0/0, `gpu_wave64_ps` 2/0/0 on both, no `SKIPPED`; - `gpu::`: 700 passed, 3 failed, 22 ignored here, 697/3/22 on main (the 3 more are the new `ps_masks` tests). The same 3 fail on both (f64 / f16 rounding on that stack) and the same 13 tests print `SKIPPED` on both. **Regression run** `scripts/smoke.ps1`, 60 s, `XCL_DIRECT_DXIL=all` (so the title's pixel shaders take the direct route this PR changes), main then this head back to back in one job. It ran beside two non-title jobs on the same machine, the same two during both runs. main: ``` xcl-smoke v1 commit: e1d84b7d9153f86a97d2ec5d209d196046fc0bea gpu: NVIDIA GeForce RTX 5070 Ti title: ea3b5e4d seconds: 60 exit: 0x0 frames shown: 1426 (PresentX 1427) presents per 2 s (last 3): 41 17 9 device removals: 0 crashes: 0 peak commit: 20741 MB ``` this PR: ``` xcl-smoke v1 commit: ad0ded91d9fac08d27631c8c09b2b83c9c923adf gpu: NVIDIA GeForce RTX 5070 Ti title: ea3b5e4d seconds: 60 exit: 0x0 frames shown: 1563 (PresentX 1563) presents per 2 s (last 3): 50 24 57 device removals: 0 crashes: 0 peak commit: 17721 MB ``` **Tested by others** - RTX 3060 Ti, @⁠DavidM1911: `cargo test -p xcl --lib` on this branch merged with main: all passed, 0 failed, 26 ignored. **Not tested** - AMD. Thanks to @⁠luckyteagirl for the RX 6800M run (AMD 30.0.13002.13003): `gpu_direct_ps_masks_hold_helper_lanes_on_triangle_edges` exits 0xc0000005 before a result on this head and on an earlier head (#2514, 57853e01); the Windows Application Error events put all three crashes inside amdxc64.dll at the same offset (0x6b097b). So the crash is in the driver and not new here; it does not show whether this PR's shaders reach it more or less often. The new forms add no quad op (#134's constraint). - Intel. - The split form (wave64 on 32-lane hardware) keeps #2083's form everywhere. - The HLSL path is unchanged: it still uses `ballot_px` for every whole-live mask. **AI use** - Claude Code, Claude Opus 5.5: wrote the analysis, the lowering and the tests, ran the measurements and wrote this description. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Since #2083 every pixel-shader compare on the direct route rebuilds its quad's four bits
from quad reads of its operands and four WaveActiveBallot passes. On 610 retail PS that
makes the DXIL 1.42x larger than before #2083; the driver time grew with it (+28 % to
+81 % on an RTX 4060, measured in #2083).

recomp/ps_masks.rs picks the cheapest form a compare's mask allows: the lane's own bit
when the mask is never read whole, WaveActiveBallot | own bit (HLSL ballot_px_local) when
it is read whole but nothing reads another lane's helper bit, cond ? EXEC : 0 for scalar
operands. In the ballot | own form every lane's copy of the mask has the live lanes' bits
and its own right, so EXEC predication, v_cndmask and carry-ins stay exact in helper lanes
and so do the values derivatives read later. A forward taint analysis refuses it where a
helper bit of another lane is read: a non-bitwise SALU, SCC / VCCZ, a scalar operand,
DPP / ds_swizzle / bpermute / permlane / readfirstlane while EXEC carries it, or values a
branch on such an EXEC lets differ between lanes. A subset of the entry EXEC (a kill's
live-pixel mask) has no helper bits and stays exact. Kept compares OR in their own bit.

610 PS: 43 % own bit, 31 % ballot | own, 4 % cond ? EXEC : 0, 23 % kept; DXIL x0.784
(x1.109 of before #2083), all validate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:34:04 +00:00
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 23:28 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 26 ignored.

Thanks!

— Devin

**@⁠DavidM1911** on GitHub · 2026-11-25 23:28 UTC · [original](https://github.com/xcl-dev/xcl/pull/2571#issuecomment-7177617256) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 26 ignored. Thanks! — Devin
Author
Owner

@⁠luckyteagirl on GitHub · 2026-11-26 00:46 UTC · original

RX 6800M focused test report for #2571: the helper-lane pixel test starts, then the Windows test process exits with 0xc0000005 (STATUS_ACCESS_VIOLATION) before reporting a pass or failure. I reproduced this on the exact PR head and on an earlier XCL head, so I cannot attribute the crash to this PR.

Setup: Windows 11 Home build 26200, Ryzen 9 5980HX, AMD Radeon RX 6800M (driver 30.0.13002.13003), Rust 1.99.0 MSVC, DXC/dxil 1.9.2609.5. XCL_ADAPTER=6800M, XCL_REQUIRE_GPU=wave64, XCL_DIRECT_DXIL=1, with XCL_DXC_DIR set to the pinned DXC folder. Clean detached PR head ad0ded91d9fac08d27631c8c09b2b83c9c923adf, isolated Cargo target.

Tested: cargo test --locked -p xcl --lib -j 1 gpu_direct_ps_masks_hold_helper_lanes_on_triangle_edges -- --test-threads=1 --show-output, under a monitor that stops on low free system commit or physical memory. Compilation completed and the harness printed running 1 test, the exact fixture name, and the DXC version. It then exited 0xc0000005 before ok, FAILED, or summary counts. The guard did not stop this run. A no-build direct rerun of the same test binary with --exact --test-threads=1 --nocapture reproduced the same exit. There was no SKIPPED line in either run; neither produced a test result.

Earlier-head control: The same exact test in a previously built clean #2514 binary (57853e017054d715cd46cd3c07cb70e58eddddc8) also exited 0xc0000005 at the same point, with no test result. That head has the same lanes.rs as current main, but other compiler files differ, so this is not an exact-main baseline.

Not tested: exact current main, a title smoke pair, or the full suite. The first cold build attempt stopped at the memory guard before any test ran; it is not counted as a test result. No game files were used.

AI use: Codex (GPT-6) and a Codex Luna subagent ran the guarded test and direct controls, verified commit and binary provenance, and wrote this report.

**@⁠luckyteagirl** on GitHub · 2026-11-26 00:46 UTC · [original](https://github.com/xcl-dev/xcl/pull/2571#issuecomment-7179104814) **RX 6800M focused test report for #2571:** the helper-lane pixel test starts, then the Windows test process exits with `0xc0000005 (STATUS_ACCESS_VIOLATION)` before reporting a pass or failure. I reproduced this on the exact PR head and on an earlier XCL head, so I cannot attribute the crash to this PR. **Setup:** Windows 11 Home build 26200, Ryzen 9 5980HX, AMD Radeon RX 6800M (driver `30.0.13002.13003`), Rust 1.99.0 MSVC, DXC/dxil `1.9.2609.5`. `XCL_ADAPTER=6800M`, `XCL_REQUIRE_GPU=wave64`, `XCL_DIRECT_DXIL=1`, with `XCL_DXC_DIR` set to the pinned DXC folder. Clean detached PR head `ad0ded91d9fac08d27631c8c09b2b83c9c923adf`, isolated Cargo target. **Tested:** `cargo test --locked -p xcl --lib -j 1 gpu_direct_ps_masks_hold_helper_lanes_on_triangle_edges -- --test-threads=1 --show-output`, under a monitor that stops on low free system commit or physical memory. Compilation completed and the harness printed `running 1 test`, the exact fixture name, and the DXC version. It then exited `0xc0000005` before `ok`, `FAILED`, or summary counts. The guard did not stop this run. A no-build direct rerun of the same test binary with `--exact --test-threads=1 --nocapture` reproduced the same exit. There was no `SKIPPED` line in either run; neither produced a test result. **Earlier-head control:** The same exact test in a previously built clean #2514 binary (`57853e017054d715cd46cd3c07cb70e58eddddc8`) also exited `0xc0000005` at the same point, with no test result. That head has the same `lanes.rs` as current `main`, but other compiler files differ, so this is not an exact-main baseline. **Not tested:** exact current `main`, a title smoke pair, or the full suite. The first cold build attempt stopped at the memory guard before any test ran; it is not counted as a test result. No game files were used. **AI use:** Codex (GPT-6) and a Codex Luna subagent ran the guarded test and direct controls, verified commit and binary provenance, and wrote this report.
Author
Owner

@⁠luckyteagirl on GitHub · 2026-11-26 01:14 UTC · original

Follow-up to my RX 6800M report above: Windows Application Error (Event ID 1000) records all three focused-test process crashes in amdxc64.dll version 30.0.13002.13003, with exception 0xc0000005 at the same fault offset 0x00000000006b097b. Two events name the exact #2571 test binary under work-pr2571/target; the third names the earlier-head control binary under work-pr2444/target. Their recorded times were 16:43:25, 16:44:57, and 16:45:55 local on 2026-11-25.

This localizes the observed access violation to the AMD shader-compiler module on this machine. The earlier-head control faulted at the same offset, so it still does not establish a regression from #2571. I have no call stack or shader compiler dump and did not rerun the test for this follow-up.

AI use: Codex (GPT-6) read the local Windows Application Error records and prepared this supplemental report.

**@⁠luckyteagirl** on GitHub · 2026-11-26 01:14 UTC · [original](https://github.com/xcl-dev/xcl/pull/2571#issuecomment-7179575913) Follow-up to my RX 6800M report above: Windows Application Error (Event ID 1000) records **all three** focused-test process crashes in `amdxc64.dll` version `30.0.13002.13003`, with exception `0xc0000005` at the **same fault offset `0x00000000006b097b`**. Two events name the exact #2571 test binary under `work-pr2571/target`; the third names the earlier-head control binary under `work-pr2444/target`. Their recorded times were 16:43:25, 16:44:57, and 16:45:55 local on 2026-11-25. This localizes the observed access violation to the AMD shader-compiler module on this machine. The earlier-head control faulted at the same offset, so it still does not establish a regression from #2571. I have no call stack or shader compiler dump and did not rerun the test for this follow-up. AI use: Codex (GPT-6) read the local Windows Application Error records and prepared this supplemental report.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

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