shader: lower partial dmask image_sample and non-zero texture offsets in pixel_aot #500

Merged
PrivacyOnion merged 2 commits from upstream-pr/506 into main 2026-11-23 10:18:33 +00:00
PrivacyOnion commented 2026-11-22 08:28:43 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by PrivacyOnion on 2026-11-22T08:28:43Z.


### Summary
Extends tools/pixel_aot.py to support two patterns common in single-texture pixel shaders:

  1. Partial dmask values (0x1..0xf) on image_sample:
    • Accepts single-VGPR destinations (image_sample vN, ...) when popcount(dmask) == 1 and contiguous ranges (image_sample v[a:b], ...) matching popcount(dmask) when popcount(dmask) in {2, 3, 4}.
    • Maps enabled channels in ascending bit order (bit 0 -> .x, bit 1 -> .y, bit 2 -> .z, bit 3 -> .w) to the destination VGPRs and rejects dmask:0x0 or destination register count/syntax mismatches.
  2. Configurable primary texture descriptor offset (texture_offset / --texture-offset, default 0):
    • Allows s_load_dwordx8 to bind t0 from any 32-byte-aligned non-negative offset (such as 0x20 or 0x40) while preserving non-overlap checks against second_texture_offset and constant_descriptor.

Tests Added

  • Added tests/pixel_dmask_check.py and registered pixel_aot_dmask_warp and pixel_aot_dmask_hardware in CMakeLists.txt:
    • 3-channel RGB (dmask:0x7) Rec.709 luma reduction loaded from texture_offset=0x20
    • 1-channel single-VGPR samples (dmask:0x1, dmask:0x2, dmask:0x8) from texture_offset=0x40
    • 2-channel sparse masks (dmask:0x5 R/B and dmask:0xa G/A)
    • 11 rejection controls (wrong/unaligned/negative/overlapping texture_offset, dmask:0x0, VGPR count mismatch, single-vs-range syntax mismatch) and a wrong-mask pixel mutation control.

Test Commands & Results

  • ctest --preset dev --no-tests=error -R "^(pixel_aot_dmask_warp|pixel_aot_dmask_hardware|pixel_aot_attribute_warp|pixel_aot_three_way_warp)$" -V:
    • pixel_aot_dmask_warp -> Passed (Microsoft Basic Render Driver, driver 10.0.26100.9818, debug_layer=enabled, pixels=4096 channels=16384 max_absolute_error=0, debug_errors=0 debug_warnings=0 across all 6 cases)
    • pixel_aot_dmask_hardware -> Passed (NVIDIA GeForce RTX 5070, vendor=10de device=2f04, driver 32.0.16.1664, debug_layer=enabled, pixels=4096 channels=16384 max_absolute_error=0, debug_errors=0 debug_warnings=0 across all 6 cases)
    • pixel_aot_attribute_warp -> Passed
    • pixel_aot_three_way_warp -> Passed
  • .\out\pe-env\Scripts\python.exe -B tests/rdna2_tools_check.py -> 29 tests OK (1 skipped)
  • .\out\pe-env\Scripts\python.exe -B tests/bidi_controls_check.py -> Passed
  • .\out\pe-env\Scripts\python.exe -B tests/docs_links_check.py -> Passed
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6540271504 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/506). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-22T08:28:43Z. --- ### Summary Extends `tools/pixel_aot.py` to support two patterns common in single-texture pixel shaders: 1. **Partial `dmask` values (`0x1..0xf`) on `image_sample`**: - Accepts single-VGPR destinations (`image_sample vN, ...`) when `popcount(dmask) == 1` and contiguous ranges (`image_sample v[a:b], ...`) matching `popcount(dmask)` when `popcount(dmask) in {2, 3, 4}`. - Maps enabled channels in ascending bit order (`bit 0 -> .x`, `bit 1 -> .y`, `bit 2 -> .z`, `bit 3 -> .w`) to the destination VGPRs and rejects `dmask:0x0` or destination register count/syntax mismatches. 2. **Configurable primary texture descriptor offset (`texture_offset` / `--texture-offset`, default `0`)**: - Allows `s_load_dwordx8` to bind `t0` from any 32-byte-aligned non-negative offset (such as `0x20` or `0x40`) while preserving non-overlap checks against `second_texture_offset` and `constant_descriptor`. ### Tests Added - Added `tests/pixel_dmask_check.py` and registered `pixel_aot_dmask_warp` and `pixel_aot_dmask_hardware` in `CMakeLists.txt`: - 3-channel RGB (`dmask:0x7`) Rec.709 luma reduction loaded from `texture_offset=0x20` - 1-channel single-VGPR samples (`dmask:0x1`, `dmask:0x2`, `dmask:0x8`) from `texture_offset=0x40` - 2-channel sparse masks (`dmask:0x5` R/B and `dmask:0xa` G/A) - 11 rejection controls (wrong/unaligned/negative/overlapping `texture_offset`, `dmask:0x0`, VGPR count mismatch, single-vs-range syntax mismatch) and a wrong-mask pixel mutation control. ### Test Commands & Results - `ctest --preset dev --no-tests=error -R "^(pixel_aot_dmask_warp|pixel_aot_dmask_hardware|pixel_aot_attribute_warp|pixel_aot_three_way_warp)$" -V`: - `pixel_aot_dmask_warp` -> **Passed** (`Microsoft Basic Render Driver`, driver `10.0.26100.9818`, `debug_layer=enabled`, `pixels=4096 channels=16384 max_absolute_error=0`, `debug_errors=0 debug_warnings=0` across all 6 cases) - `pixel_aot_dmask_hardware` -> **Passed** (`NVIDIA GeForce RTX 5070`, `vendor=10de device=2f04`, driver `32.0.16.1664`, `debug_layer=enabled`, `pixels=4096 channels=16384 max_absolute_error=0`, `debug_errors=0 debug_warnings=0` across all 6 cases) - `pixel_aot_attribute_warp` -> **Passed** - `pixel_aot_three_way_warp` -> **Passed** - `.\out\pe-env\Scripts\python.exe -B tests/rdna2_tools_check.py` -> **29 tests OK (1 skipped)** - `.\out\pe-env\Scripts\python.exe -B tests/bidi_controls_check.py` -> **Passed** - `.\out\pe-env\Scripts\python.exe -B tests/docs_links_check.py` -> **Passed**
upstream-sync closed this pull request 2026-11-24 06:43:24 +00:00
thepatrickworld commented 2026-11-24 06:48:37 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-22T18:16:18Z.


@PrivacyOnion Independent AMD (RDNA4) result on 10b891d, plus coverage observations. Measurements only, no code change.

Environment

  • Windows 11 25H2, build 26200.9711
  • MSVC 19.44.35230 (toolset 14.44.35207), Windows SDK 10.0.26100.0, DXC 1.9.2602.17
  • AMD Radeon RX 9070 XT, vendor 1002, device 7550, driver 32.0.32029.2010, native wave width 64
  • debug_layer=unavailable (Tools.Graphics.DirectX is NotPresent here, unlike your RTX 5070 run)
  • Clean worktree of the PR head 10b891d.

Commands

cmake --preset dev
cmake --build --preset dev --parallel 12 --target offscreen_check
set XBOX2WINDOWS_ADAPTER=AMD Radeon RX 9070 XT
ctest --preset dev --no-tests=error -V -R "^pixel_aot_|^rdna2_tools"

Observed

11 tests, 11 passed, 0 failed, 0 skipped, of which the new pair:

Test #197: pixel_aot_dmask_hardware ... Passed  1.54 sec
Test #209: pixel_aot_dmask_warp ....... Passed  0.86 sec
  • Whole run: 258 draw measurements, 258 at max_absolute_error=0, no non-zero line at all.
  • pixel_aot_dmask_hardware on the RX 9070 XT: 6 cases, each pixels=4096 channels=16384, all zero — matching the six positive programs in the diff (RGB luma, three single-channel, two sparse two-channel).
  • WARP: same six cases, same zeros.
  • No D3D12 debug-layer error or warning was available to check.

The bit-to-channel mapping is correct

Verified from the diff, and it is not a tautology: channels = ["xyzw"[bit] for bit in range(4) if (dmask >> bit) & 1], then zip(channels, registers(...)) ascending. So the k-th set bit goes to the k-th destination VGPR, not bit i to GPR i. 0x5 → ['x','z'] → v4=.x, v5=.z; 0xa → ['y','w'] → v4=.y, v5=.w. That is the AMD packing semantics, and the two sparse cases in the fixture assert exactly that ((r,b,b,r) / (g,a,a,g)), so a swap would mismatch and a positional interpretation would leave v5 unread. Those two cases are genuinely discriminating.

Minor: the docstring phrase "bit 0 -> .x, bit 1 -> .y" reads as positional and would be wrong for sparse masks; the code does the right thing, the wording does not say it.

What the rejection controls actually prove

Of the 11 must_reject entries, four would still pass with the guard they name removed, because the shader in that case loads a different offset, so the program is rejected anyway as unbound:

  • offset 16 and offset -32 (alignment and negative guards) — the s_load is at 0x20, so both fall outside bindings.
  • offset 32 without a sampler — bindings is empty, so the load rejects first.
  • tex=32, second=32 (overlap guard) — bindings[32] gets overwritten, 0x20 stays unbound.

One is a false positive of the pattern: dmask:0x0 never reaches a dmask check, the regex simply does not match and the line falls into the generic Unsupported instruction path. must_reject catches (ValueError, KeyError) without checking the message, so the rejection is for the wrong reason.

Two are redundant (the v[0:3] / v[0:1] pair exercises a single registers() branch). The genuinely discriminating ones are the default-offset case, the constant_descriptor overlap, the width-mismatch pair and the single-vs-range pair.

Untested on that front: negative and unaligned second_texture_offset (the diff changes that guard's shape), the newly admitted second=0, the upper boundary at distance exactly 32, and the constant_descriptor overlap loop with more than one binding.

The gap that matters most

Nothing asserts that disabled channels are not written. The lowering only assigns vector[v{n}] = sample{i}.{ch} for the channels present in the mask, which is right — but every positive program reads only the VGPRs it declares, and the luma case immediately overwrites v3 with v_mul_legacy_f32_e32 v3. An implementation that wrote all four sample channels starting at the first destination register would pass all six cases silently: no case reads a neighbour VGPR after the sample.

Related, and cheaper to close: no three-bit mask is ever accepted. 0xb, 0xd and 0xe are not exercised positively anywhere, so the len(channels) == 3 path has no test at all. 0xf on a real range is only covered by the older pixel_aot_check.py.

Also: this PR is in conflict

GitHub reports mergeable: false, mergeable_state: dirty against main, and #510 touches the same tools/pixel_aot.py region, so whichever lands second needs a rebase. This run measured a head that cannot merge as-is.

AI-assisted; runs executed locally. The coverage observations come from a separate code review and were re-verified against the diff (channel packing, must_reject list, guard reachability) before posting.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7083475114 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/506#issuecomment-7083475114). Originally posted by [thepatrickworld](https://github.com/thepatrickworld) on 2026-11-22T18:16:18Z. --- @PrivacyOnion **Independent AMD (RDNA4) result on `10b891d`**, plus coverage observations. Measurements only, no code change. ### Environment - Windows 11 25H2, build **26200.9711** - MSVC **19.44.35230** (toolset 14.44.35207), Windows SDK 10.0.26100.0, DXC **1.9.2602.17** - **AMD Radeon RX 9070 XT**, vendor 1002, device 7550, driver **32.0.32029.2010**, native wave width 64 - `debug_layer=unavailable` (`Tools.Graphics.DirectX` is `NotPresent` here, unlike your RTX 5070 run) - Clean worktree of the PR head `10b891d`. ### Commands ``` cmake --preset dev cmake --build --preset dev --parallel 12 --target offscreen_check set XBOX2WINDOWS_ADAPTER=AMD Radeon RX 9070 XT ctest --preset dev --no-tests=error -V -R "^pixel_aot_|^rdna2_tools" ``` ### Observed **11 tests, 11 passed, 0 failed, 0 skipped**, of which the new pair: ``` Test #197: pixel_aot_dmask_hardware ... Passed 1.54 sec Test #209: pixel_aot_dmask_warp ....... Passed 0.86 sec ``` - Whole run: **258 draw measurements, 258 at `max_absolute_error=0`**, no non-zero line at all. - `pixel_aot_dmask_hardware` on the RX 9070 XT: **6 cases, each `pixels=4096 channels=16384`, all zero** — matching the six positive programs in the diff (RGB luma, three single-channel, two sparse two-channel). - WARP: same six cases, same zeros. - No D3D12 debug-layer error or warning was available to check. ### The bit-to-channel mapping is correct Verified from the diff, and it is not a tautology: `channels = ["xyzw"[bit] for bit in range(4) if (dmask >> bit) & 1]`, then `zip(channels, registers(...))` ascending. So the k-th set bit goes to the k-th destination VGPR, not bit *i* to GPR *i*. `0x5` → `['x','z']` → `v4=.x, v5=.z`; `0xa` → `['y','w']` → `v4=.y, v5=.w`. That is the AMD packing semantics, and the two sparse cases in the fixture assert exactly that (`(r,b,b,r)` / `(g,a,a,g)`), so a swap would mismatch and a positional interpretation would leave `v5` unread. Those two cases are genuinely discriminating. Minor: the docstring phrase "bit 0 -> .x, bit 1 -> .y" reads as positional and would be wrong for sparse masks; the code does the right thing, the wording does not say it. ### What the rejection controls actually prove Of the 11 `must_reject` entries, **four would still pass with the guard they name removed**, because the shader in that case loads a different offset, so the program is rejected anyway as unbound: - offset `16` and offset `-32` (alignment and negative guards) — the `s_load` is at `0x20`, so both fall outside `bindings`. - offset `32` without a sampler — `bindings` is empty, so the load rejects first. - `tex=32, second=32` (overlap guard) — `bindings[32]` gets overwritten, `0x20` stays unbound. One is a **false positive of the pattern**: `dmask:0x0` never reaches a dmask check, the regex simply does not match and the line falls into the generic `Unsupported instruction` path. `must_reject` catches `(ValueError, KeyError)` without checking the message, so the rejection is for the wrong reason. Two are redundant (the `v[0:3]` / `v[0:1]` pair exercises a single `registers()` branch). The genuinely discriminating ones are the default-offset case, the `constant_descriptor` overlap, the width-mismatch pair and the single-vs-range pair. Untested on that front: negative and unaligned `second_texture_offset` (the diff changes that guard's shape), the newly admitted `second=0`, the upper boundary at distance exactly 32, and the `constant_descriptor` overlap loop with more than one binding. ### The gap that matters most **Nothing asserts that disabled channels are not written.** The lowering only assigns `vector[v{n}] = sample{i}.{ch}` for the channels present in the mask, which is right — but every positive program reads only the VGPRs it declares, and the luma case immediately overwrites `v3` with `v_mul_legacy_f32_e32 v3`. An implementation that wrote all four sample channels starting at the first destination register would pass all six cases silently: no case reads a neighbour VGPR after the sample. Related, and cheaper to close: **no three-bit mask is ever accepted**. `0xb`, `0xd` and `0xe` are not exercised positively anywhere, so the `len(channels) == 3` path has no test at all. `0xf` on a real range is only covered by the older `pixel_aot_check.py`. ### Also: this PR is in conflict GitHub reports `mergeable: false`, `mergeable_state: dirty` against `main`, and #510 touches the same `tools/pixel_aot.py` region, so whichever lands second needs a rebase. This run measured a head that cannot merge as-is. _AI-assisted; runs executed locally. The coverage observations come from a separate code review and were re-verified against the diff (channel packing, `must_reject` list, guard reachability) before posting._
R0Y00 commented 2026-11-24 06:49:07 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T09:58:21Z.


I fast-forwarded this branch to 0294d19 after resolving the shared sample-lowering and CTest conflicts. It retains the current LOD-zero and comparison paths and uses the current wait counter. The new 0xb draw checks R/G/A in consecutive VGPRs and a 0.25 sentinel in the next register. Overwriting that register fails the readback. The descriptor controls cover adjacent slots with t1 at byte offset zero, and overlap with constant bindings. Python controls and LLVM 15 passed. All seven positive draws and both negative controls passed on WARP 10.0.26100.9818 and RTX 4060 Laptop 32.0.16.1656 on Windows 11 build 26200.9974, debug layer enabled. This PR stays ahead of #510 in the shared sampling code.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7097328363 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/506#issuecomment-7097328363). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T09:58:21Z. --- I fast-forwarded this branch to `0294d19` after resolving the shared sample-lowering and CTest conflicts. It retains the current LOD-zero and comparison paths and uses the current wait counter. The new `0xb` draw checks R/G/A in consecutive VGPRs and a 0.25 sentinel in the next register. Overwriting that register fails the readback. The descriptor controls cover adjacent slots with t1 at byte offset zero, and overlap with constant bindings. Python controls and LLVM 15 passed. All seven positive draws and both negative controls passed on WARP 10.0.26100.9818 and RTX 4060 Laptop 32.0.16.1656 on Windows 11 build 26200.9974, debug layer enabled. This PR stays ahead of #510 in the shared sampling code.
thepatrickworld commented 2026-11-24 06:49:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-23T14:44:03Z.


Post-merge check on 8370c17: the 0xb sentinel holds on RDNA4, and three must_reject entries still pass for the wrong reason. Measurements plus a read of the merged fixture.

Environment and commands

  • Windows 11 25H2, build 26200.9711, MSVC 19.44.35230, DXC 1.9.2602.17
  • AMD Radeon RX 9070 XT, vendor 1002, device 7550, driver 32.0.32029.2010, native wave width 64
git checkout 8370c17
cmake --preset dev
cmake --build --preset dev --parallel 12 --target offscreen_check
set XBOX2WINDOWS_ADAPTER=AMD Radeon RX 9070 XT
ctest --preset dev --no-tests=error -R "^pixel_aot_dmask_(hardware|warp)$" -V
ctest --preset dev --no-tests=error -R "^pixel_aot_(attribute|three_way)_(hardware|warp)$" -V
1/2 Test #307: pixel_aot_dmask_hardware ...   Passed   2.12 sec
2/2 Test #368: pixel_aot_dmask_warp .......   Passed   1.11 sec
4/4 pixel_aot_attribute / pixel_aot_three_way (both backends) passed

The seven positive programs and both negative controls now run on this adapter too, not only on WARP and the RTX 4060.

The disabled-channel gap is closed on this shape, and structurally

The merged lowering does not materialise v4..v6. For the 0xb program it emits:

precise float alu17 = 0.25f;
float4 sample18 = tex.Sample(samp, float2(uv.x, uv.y));
return float4(export16(sample18.x), export16(sample18.y), export16(sample18.w), export16(alu17));

dmask:0xb maps to .x/.y/.w at the use sites, so there is no per-channel VGPR write that could reach the sentinel: the property now holds by construction on this shape, not only by test. It is one shape though — three channels with the hole in the middle, destination v[4:6]. 0x5 with sentinels in v6/v7, or 0xe (hole at the head), would close the "popcount off by one" family for a few lines each.

Three must_reject entries still pass for the wrong reason

  • dmask:0x0 never reaches a mask check: the sample regex only admits 0x([1-9a-f]) (tools/pixel_aot.py:2369), so the line falls through to Unsupported instruction 17: image_sample v[0:2], v[2:3], s[4:11], s[0:3] dmask:0.
  • second_texture_offset=16 (tests/pixel_dmask_check.py:120) is rejected on the distance clause, not alignment: abs(16 - 32) = 16 < 32. Isolating alignment needs a distance of at least 32 that is not a multiple of it — texture_offset=32, second_texture_offset=80 does reach it (Second texture descriptor must have a distinct aligned offset), and that pair is not in the fixture.
  • must_reject swallows any ValueError/KeyError without reading the message (tests/pixel_aot_check.py:230), while expect_value_error, which asserts the message, sits two functions below at :238 and is unused here. The same three cases would then assert the stated reason instead of just "rejected".

Two coverage notes

  • No positive case for popcount 4 in this fixture: 0xf is never drawn here, so a width-4 regression is only caught by pixel_aot_check.py.
  • image_sample v[2:4], v[2:3] — a destination overlapping the coordinate registers — is accepted silently. The translation stays correct because the coordinates are read before the destination is assigned, but the encoding is not legal on RDNA2 and nothing rejects it.

None of this is a translation bug. It is the difference between what the merged fixture asserts and what its labels suggest.

AI-assisted; runs executed locally. The rejection-path and coverage observations come from a separate review pass and were re-checked here by calling lower() at 8370c17.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7104453227 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/506#issuecomment-7104453227). Originally posted by [thepatrickworld](https://github.com/thepatrickworld) on 2026-11-23T14:44:03Z. --- **Post-merge check on `8370c17`: the `0xb` sentinel holds on RDNA4, and three `must_reject` entries still pass for the wrong reason.** Measurements plus a read of the merged fixture. ### Environment and commands - Windows 11 25H2, build **26200.9711**, MSVC **19.44.35230**, DXC **1.9.2602.17** - **AMD Radeon RX 9070 XT**, vendor 1002, device 7550, driver **32.0.32029.2010**, native wave width 64 ``` git checkout 8370c17 cmake --preset dev cmake --build --preset dev --parallel 12 --target offscreen_check set XBOX2WINDOWS_ADAPTER=AMD Radeon RX 9070 XT ctest --preset dev --no-tests=error -R "^pixel_aot_dmask_(hardware|warp)$" -V ctest --preset dev --no-tests=error -R "^pixel_aot_(attribute|three_way)_(hardware|warp)$" -V ``` ``` 1/2 Test #307: pixel_aot_dmask_hardware ... Passed 2.12 sec 2/2 Test #368: pixel_aot_dmask_warp ....... Passed 1.11 sec 4/4 pixel_aot_attribute / pixel_aot_three_way (both backends) passed ``` The seven positive programs and both negative controls now run on this adapter too, not only on WARP and the RTX 4060. ### The disabled-channel gap is closed on this shape, and structurally The merged lowering does not materialise `v4..v6`. For the `0xb` program it emits: ```hlsl precise float alu17 = 0.25f; float4 sample18 = tex.Sample(samp, float2(uv.x, uv.y)); return float4(export16(sample18.x), export16(sample18.y), export16(sample18.w), export16(alu17)); ``` `dmask:0xb` maps to `.x/.y/.w` at the use sites, so there is no per-channel VGPR write that could reach the sentinel: the property now holds by construction on this shape, not only by test. It is one shape though — three channels with the hole in the middle, destination `v[4:6]`. `0x5` with sentinels in `v6`/`v7`, or `0xe` (hole at the head), would close the "popcount off by one" family for a few lines each. ### Three `must_reject` entries still pass for the wrong reason - `dmask:0x0` never reaches a mask check: the sample regex only admits `0x([1-9a-f])` (`tools/pixel_aot.py:2369`), so the line falls through to `Unsupported instruction 17: image_sample v[0:2], v[2:3], s[4:11], s[0:3] dmask:0`. - `second_texture_offset=16` (`tests/pixel_dmask_check.py:120`) is rejected on the distance clause, not alignment: `abs(16 - 32) = 16 < 32`. Isolating alignment needs a distance of at least 32 that is not a multiple of it — `texture_offset=32, second_texture_offset=80` does reach it (`Second texture descriptor must have a distinct aligned offset`), and that pair is not in the fixture. - `must_reject` swallows any `ValueError`/`KeyError` without reading the message (`tests/pixel_aot_check.py:230`), while `expect_value_error`, which asserts the message, sits two functions below at `:238` and is unused here. The same three cases would then assert the stated reason instead of just "rejected". ### Two coverage notes - No positive case for popcount 4 in this fixture: `0xf` is never drawn here, so a width-4 regression is only caught by `pixel_aot_check.py`. - `image_sample v[2:4], v[2:3]` — a destination overlapping the coordinate registers — is accepted silently. The translation stays correct because the coordinates are read before the destination is assigned, but the encoding is not legal on RDNA2 and nothing rejects it. None of this is a translation bug. It is the difference between what the merged fixture asserts and what its labels suggest. _AI-assisted; runs executed locally. The rejection-path and coverage observations come from a separate review pass and were re-checked here by calling `lower()` at `8370c17`._
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
R0Y00/Xbox2Windows!500
No description provided.