shader: make the pixel_aot f32 denormal mode explicit and accept NaN by class #357

Merged
abilliontokens merged 6 commits from upstream-pr/363 into main 2026-11-22 10:19:33 +00:00
abilliontokens commented 2026-11-21 23:21:49 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by abilliontokens on 2026-11-21T23:21:49Z.


Change

Refs #312 (owner-approved f32 slice). Makes the pixel_aot draw harness's floating-point contract explicit, in one reviewable behavior:

  • Explicit f32 denormal mode. F32_DENORM_MODE = "preserve" records the assumption the CPU references already make (plain Python floats keep binary32 subnormals; the Scarlett SPI_SHADER_PGM_RSRC1.FLOAT_MODE is unmeasured). Every DXC invocation now goes through one compile_shader() helper that passes the matching -denorm flag. DXC accepts -denorm only at shader model 6.2+, so the harness target moves from ps_6_0 to ps_6_2 (the minimum that allows the flag; below the SM 6.5 cap of the oldest in-box WARP the repo targets). f16/f64 modes are not established here, per the approval.

  • Non-folding mode control. check_denorm_mode_draw exports v_min_f32/v_max_f32 on the least subnormal 0x00000001 plus a v_mul_f32 by 1.0 through a new uncompressed f32 export (exp mrt0 v12, v13, v14, v15 done vm; the compressed export16 path quantizes to binary16 and cannot carry f32 subnormals). The program is drawn under both -denorm preserve and -denorm ftz with mode-matched references: min/max keep 0x00000001 under preserve and export zero under ftz; the multiply-by-1.0 channel folds to a move and must export identical raw bits in both modes. Negative control: the preserve build must mismatch the ftz reference.

  • NaN-class readback. check_nan_class_draw adds NaN-producing v_add_f32 rows (0x7FC00000, 0x7F800001, 0xFFC00003). A case-file trailer (one flags byte + 64 per-texel mask bytes) marks channels that expect NaN: the renderer accepts any NaN sign/payload there, logs nan_class … expected=%08x actual=%08x raw words even on pass, and keeps every unmasked channel strict bitwise. Comparison-predicate fixtures are untouched and stay strict. Negative controls fail on every backend: a finite export on a masked channel, and a NaN export on a strict finite channel.

  • Lossless integer readback. Trailer flag bit 0 selects a R32G32B32A32_UINT render target; lower(..., integer_export=True) returns uint4(asuint(...)). check_integer_readback_draw round-trips v_mov_b32 copies of 0x7FC00001, 0xFFC00003, 0x00000001, 0x80000000 bit-for-bit, bypassing float-RT payload normalization. Negative control: one corrupted expected word must fail.

  • Translator rejects malformed uncompressed exports (duplicate registers, compressed form under integer_export, instructions after the export); the compressed path's HLSL is byte-identical to before. No-trailer case files keep the original 1280-byte format and behavior, including --check-pixel.

  • One recorded vendor exception. The RTX 5060 Ti (driver 32.0.16.2124) refuses PSO creation for the curve program under -denorm preserve (E_OUTOFMEMORY); WARP and the RX 9060 XT accept it. A compile-variant probe on that adapter isolated the trigger: ps_6_0 no flag, ps_6_2 no flag, -denorm ftz and -denorm any all create the PSO; -denorm preserve fails at ps_6_2 and ps_6_5. A surface probe of all 14 fixture programs under preserve found curve the only failure. The curve fixture therefore records its mode explicitly as any (the approval's "record unknown/any as such"); its expected rows contain no binary32 subnormals, so the mode cannot change their exported bits — the harness asserts this mode independence on every expected word (flush_ftz(word) == word) rather than arguing it. Every other fixture, including the preserve/ftz mode control, runs under the recorded modes on all three backends.

No overlap with #288: no v_mad_f32/v_mac_f32 lowering is added or changed; existing instruction-specific rules (widen16, explicit isnan predicates) are retained.

Verification

Environment: Windows 11 Pro build 26200.9711, MSVC 14.44.35207 (VS 2022 Build Tools 17.14), Windows SDK 10.0.26100.0 (its DXC), CMake 4.4.3 / Ninja 1.13.2, Python 3.12.10. Adapters: AMD RX 9060 XT (driver 32.0.32029.2010), NVIDIA RTX 5060 Ti (driver 32.0.16.2124), in-box WARP 10.0.26100.9711. Debug layer unavailable on this machine (Graphics Tools not installed); runs report debug_layer=unavailable.

cmake --preset dev
cmake --build --preset dev
ctest --preset dev --no-tests=error -R '^pixel_aot_' --output-on-failure
$env:XBOX2WINDOWS_ADAPTER='RX 9060 XT'
ctest --preset dev --no-tests=error -R '^pixel_aot_hardware$' --output-on-failure
$env:XBOX2WINDOWS_ADAPTER='RTX 5060 Ti'
ctest --preset dev --no-tests=error -R '^pixel_aot_hardware$' --output-on-failure
.\out\pe-env\Scripts\python.exe -B tests/form_coverage_check.py

Result at this branch (rebased onto current main; isolated worktree configured with the dev preset, ctest run via --test-dir on that build, same filters):

Run Result
pixel_aot_hardware (default adapter, RTX 5060 Ti) Passed, 21.6 s
pixel_aot_warp (WARP 10.0.26100.9711) Passed, 4.1 s
pixel_aot_hardware with XBOX2WINDOWS_ADAPTER='RX 9060 XT' Passed, 15.8 s
pixel_aot_hardware with XBOX2WINDOWS_ADAPTER='RTX 5060 Ti' Passed, 21.2 s
tests/form_coverage_check.py passed

All draws report pixels=4096 channels=16384 max_absolute_error=0; the NaN-class rows log nan_class raw words and pass by class; no pixel_mismatch on any passing draw. Capability skips: none in this group. Debug layer unavailable (debug_layer=unavailable), so no debug diagnostics are claimed.

Full suite at the final branch head: ctest --test-dir <build> --no-tests=error — 146/146 passed, with three capability skips reported separately (bvh_wave64_hardware: NVIDIA native lane range 32..32; bvh_wave64_warp: WARP lane range 4..4; wave_shuffle_warp: WARP native width 4 is self-inverse). The seven pure-Python checks (form_coverage, bcpack, dxcontainer_part_offsets, layout_chunks, resource_ranges, script_state, intake/paths) all pass.

One earlier full-suite run during development hit two intermittent failures outside this change's surface: cpu_aot_exe_entry (the known #281 hang, 15 s timeout) and dxr_facing_warp (a transient all-zero WARP ray result). Both passed on isolated rerun and in the subsequent clean full-suite runs; this change touches neither fixture.

Every new behavior has a negative control that fails without it (listed above). The pre-change baseline at b860dd5 passed pixel_aot_warp and pixel_aot_hardware on both adapters on this machine.

Evidence and follow-up

  • docs/experiments.md records the preserve assumption, the ps_6_2/-denorm contract, the case-trailer format, the NaN-class limits and the lossless integer path; the standalone repro command matches the harness flags.
  • f16/f64 denormal modes and console FLOAT_MODE remain unmeasured; #312 stays the tracking issue for those.
  • No game files, dumps, distribution links or credentials; fixtures are source-built and synthetic.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6535724582 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/363). Originally posted by [abilliontokens](https://github.com/abilliontokens) on 2026-11-21T23:21:49Z. --- ## Change Refs #312 (owner-approved f32 slice). Makes the pixel_aot draw harness's floating-point contract explicit, in one reviewable behavior: - **Explicit f32 denormal mode.** `F32_DENORM_MODE = "preserve"` records the assumption the CPU references already make (plain Python floats keep binary32 subnormals; the Scarlett `SPI_SHADER_PGM_RSRC1.FLOAT_MODE` is unmeasured). Every DXC invocation now goes through one `compile_shader()` helper that passes the matching `-denorm` flag. DXC accepts `-denorm` only at shader model 6.2+, so the harness target moves from `ps_6_0` to `ps_6_2` (the minimum that allows the flag; below the SM 6.5 cap of the oldest in-box WARP the repo targets). f16/f64 modes are not established here, per the approval. - **Non-folding mode control.** `check_denorm_mode_draw` exports `v_min_f32`/`v_max_f32` on the least subnormal `0x00000001` plus a `v_mul_f32` by 1.0 through a new uncompressed f32 export (`exp mrt0 v12, v13, v14, v15 done vm`; the compressed `export16` path quantizes to binary16 and cannot carry f32 subnormals). The program is drawn under both `-denorm preserve` and `-denorm ftz` with mode-matched references: min/max keep `0x00000001` under preserve and export zero under ftz; the multiply-by-1.0 channel folds to a move and must export identical raw bits in both modes. Negative control: the preserve build must mismatch the ftz reference. - **NaN-class readback.** `check_nan_class_draw` adds NaN-producing `v_add_f32` rows (`0x7FC00000`, `0x7F800001`, `0xFFC00003`). A case-file trailer (one flags byte + 64 per-texel mask bytes) marks channels that expect NaN: the renderer accepts any NaN sign/payload there, logs `nan_class … expected=%08x actual=%08x` raw words even on pass, and keeps every unmasked channel strict bitwise. Comparison-predicate fixtures are untouched and stay strict. Negative controls fail on every backend: a finite export on a masked channel, and a NaN export on a strict finite channel. - **Lossless integer readback.** Trailer flag bit 0 selects a `R32G32B32A32_UINT` render target; `lower(..., integer_export=True)` returns `uint4(asuint(...))`. `check_integer_readback_draw` round-trips `v_mov_b32` copies of `0x7FC00001`, `0xFFC00003`, `0x00000001`, `0x80000000` bit-for-bit, bypassing float-RT payload normalization. Negative control: one corrupted expected word must fail. - Translator rejects malformed uncompressed exports (duplicate registers, compressed form under `integer_export`, instructions after the export); the compressed path's HLSL is byte-identical to before. No-trailer case files keep the original 1280-byte format and behavior, including `--check-pixel`. - **One recorded vendor exception.** The RTX 5060 Ti (driver 32.0.16.2124) refuses PSO creation for the curve program under `-denorm preserve` (`E_OUTOFMEMORY`); WARP and the RX 9060 XT accept it. A compile-variant probe on that adapter isolated the trigger: `ps_6_0` no flag, `ps_6_2` no flag, `-denorm ftz` and `-denorm any` all create the PSO; `-denorm preserve` fails at `ps_6_2` and `ps_6_5`. A surface probe of all 14 fixture programs under preserve found curve the only failure. The curve fixture therefore records its mode explicitly as `any` (the approval's "record unknown/any as such"); its expected rows contain no binary32 subnormals, so the mode cannot change their exported bits — the harness asserts this mode independence on every expected word (`flush_ftz(word) == word`) rather than arguing it. Every other fixture, including the preserve/ftz mode control, runs under the recorded modes on all three backends. No overlap with #288: no `v_mad_f32`/`v_mac_f32` lowering is added or changed; existing instruction-specific rules (`widen16`, explicit `isnan` predicates) are retained. ## Verification Environment: Windows 11 Pro build 26200.9711, MSVC 14.44.35207 (VS 2022 Build Tools 17.14), Windows SDK 10.0.26100.0 (its DXC), CMake 4.4.3 / Ninja 1.13.2, Python 3.12.10. Adapters: AMD RX 9060 XT (driver 32.0.32029.2010), NVIDIA RTX 5060 Ti (driver 32.0.16.2124), in-box WARP 10.0.26100.9711. Debug layer unavailable on this machine (Graphics Tools not installed); runs report `debug_layer=unavailable`. ```powershell cmake --preset dev cmake --build --preset dev ctest --preset dev --no-tests=error -R '^pixel_aot_' --output-on-failure $env:XBOX2WINDOWS_ADAPTER='RX 9060 XT' ctest --preset dev --no-tests=error -R '^pixel_aot_hardware$' --output-on-failure $env:XBOX2WINDOWS_ADAPTER='RTX 5060 Ti' ctest --preset dev --no-tests=error -R '^pixel_aot_hardware$' --output-on-failure .\out\pe-env\Scripts\python.exe -B tests/form_coverage_check.py ``` Result at this branch (rebased onto current `main`; isolated worktree configured with the `dev` preset, ctest run via `--test-dir` on that build, same filters): | Run | Result | |---|---| | `pixel_aot_hardware` (default adapter, RTX 5060 Ti) | Passed, 21.6 s | | `pixel_aot_warp` (WARP 10.0.26100.9711) | Passed, 4.1 s | | `pixel_aot_hardware` with `XBOX2WINDOWS_ADAPTER='RX 9060 XT'` | Passed, 15.8 s | | `pixel_aot_hardware` with `XBOX2WINDOWS_ADAPTER='RTX 5060 Ti'` | Passed, 21.2 s | | `tests/form_coverage_check.py` | passed | All draws report `pixels=4096 channels=16384 max_absolute_error=0`; the NaN-class rows log `nan_class` raw words and pass by class; no `pixel_mismatch` on any passing draw. Capability skips: none in this group. Debug layer unavailable (`debug_layer=unavailable`), so no debug diagnostics are claimed. Full suite at the final branch head: `ctest --test-dir <build> --no-tests=error` — **146/146 passed**, with three capability skips reported separately (`bvh_wave64_hardware`: NVIDIA native lane range 32..32; `bvh_wave64_warp`: WARP lane range 4..4; `wave_shuffle_warp`: WARP native width 4 is self-inverse). The seven pure-Python checks (`form_coverage`, `bcpack`, `dxcontainer_part_offsets`, `layout_chunks`, `resource_ranges`, `script_state`, `intake/paths`) all pass. One earlier full-suite run during development hit two intermittent failures outside this change's surface: `cpu_aot_exe_entry` (the known #281 hang, 15 s timeout) and `dxr_facing_warp` (a transient all-zero WARP ray result). Both passed on isolated rerun and in the subsequent clean full-suite runs; this change touches neither fixture. Every new behavior has a negative control that fails without it (listed above). The pre-change baseline at `b860dd5` passed `pixel_aot_warp` and `pixel_aot_hardware` on both adapters on this machine. ## Evidence and follow-up - `docs/experiments.md` records the preserve assumption, the `ps_6_2`/`-denorm` contract, the case-trailer format, the NaN-class limits and the lossless integer path; the standalone repro command matches the harness flags. - f16/f64 denormal modes and console `FLOAT_MODE` remain unmeasured; #312 stays the tracking issue for those. - No game files, dumps, distribution links or credentials; fixtures are source-built and synthetic. _AI-assisted._
upstream-sync closed this pull request 2026-11-24 06:42:38 +00:00
roansystemlabs commented 2026-11-24 06:48:17 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by roansystemlabs on 2026-11-22T01:56:13Z.


Ampere data point for the -denorm preserve PSO refusal recorded in this PR (curve fixture, RTX 5060 Ti, driver 32.0.16.2124).

Environment

  • Windows 11 build 26200.9974
  • NVIDIA GeForce RTX 3070 (Ampere, vendor=10de device=2484), driver 32.0.16.2101; in-box WARP 10.0.26100.9818
  • DXC from Windows SDK 10.0.26100.0 (dxcompiler 1.9.2602.17), MSVC 14.44.35207 (VS 2022 Build Tools), CMake 3.31.6 / Ninja (VS-bundled), Python 3.12.10
  • Branch head e045e19 (this PR), dev preset
  • Debug layer unavailable on this machine (debug_layer=unavailable), so no debug-layer diagnostics are claimed

1. The PR as-is

ctest --preset dev --no-tests=error -R "^pixel_aot_" --output-on-failure
Test Adapter Result
pixel_aot_hardware RTX 3070, 32.0.16.2101 Passed, 35.3 s
pixel_aot_warp WARP 10.0.26100.9818 Passed, 6.2 s

That includes the preserve/ftz mode control (check_denorm_mode_draw) under both modes on the RTX 3070.

2. Curve compile-variant probe (same variants as in the PR body)

A small script imports tests/pixel_aot_check.py, translates curve() (and shaping() as a control), compiles it with dxc -Gis [flags] -T <target> -E main and draws it with offscreen_check <backend> --check-pixel-case for both gains (0.75, 1.125) against the harness's own curve_case / shaping_case references. I confirmed in the -Fc listing that each build carries the expected "fp32-denorm-mode" function attribute (preserve / ftz / any).

Program Target Flags RTX 3070 (32.0.16.2101) WARP
curve ps_6_0 none PSO created, match match
curve ps_6_2 none PSO created, match match
curve ps_6_2 -denorm any PSO created, match match
curve ps_6_2 -denorm ftz PSO created, match match
curve ps_6_2 -denorm preserve PSO created, match match
curve ps_6_5 -denorm preserve PSO created, match match
curve ps_6_6 -denorm preserve PSO created, match match
shaping same 7 variants all PSO created, match all match

Every draw: return code 0, pixels=4096 channels=16384 max_absolute_error=0.

Conclusion (scoped)

On the RTX 3070 with driver 32.0.16.2101, the curve program under -denorm preserve is accepted at PSO creation and matches the reference bit-for-bit, so the E_OUTOFMEMORY refusal does not reproduce on this Ampere adapter / driver combination. From one machine I can't tell whether the difference comes from the architecture (Blackwell vs Ampere) or from the driver build (32.0.16.2124 vs 32.0.16.2101), so I'd read it as "not universal on NVIDIA" rather than as a cause. That seems consistent with keeping the exception recorded as a per-fixture any with the asserted mode independence, rather than as a general NVIDIA rule. A run of the same probe on an Ampere card with 32.0.16.2124, or on the RTX 5060 Ti with an older driver, would separate driver from architecture.

The probe script is short and needs only the build outputs of this branch; happy to attach it if that helps.

AI-assisted: run and prepared with the support of Roan System; reviewed before posting.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7072558471 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/363#issuecomment-7072558471). Originally posted by [roansystemlabs](https://github.com/roansystemlabs) on 2026-11-22T01:56:13Z. --- Ampere data point for the `-denorm preserve` PSO refusal recorded in this PR (curve fixture, RTX 5060 Ti, driver 32.0.16.2124). **Environment** - Windows 11 build 26200.9974 - NVIDIA GeForce RTX 3070 (Ampere, `vendor=10de device=2484`), driver **32.0.16.2101**; in-box WARP 10.0.26100.9818 - DXC from Windows SDK 10.0.26100.0 (`dxcompiler 1.9.2602.17`), MSVC 14.44.35207 (VS 2022 Build Tools), CMake 3.31.6 / Ninja (VS-bundled), Python 3.12.10 - Branch head `e045e19` (this PR), `dev` preset - Debug layer unavailable on this machine (`debug_layer=unavailable`), so no debug-layer diagnostics are claimed **1. The PR as-is** ``` ctest --preset dev --no-tests=error -R "^pixel_aot_" --output-on-failure ``` | Test | Adapter | Result | |---|---|---| | `pixel_aot_hardware` | RTX 3070, 32.0.16.2101 | Passed, 35.3 s | | `pixel_aot_warp` | WARP 10.0.26100.9818 | Passed, 6.2 s | That includes the preserve/ftz mode control (`check_denorm_mode_draw`) under both modes on the RTX 3070. **2. Curve compile-variant probe (same variants as in the PR body)** A small script imports `tests/pixel_aot_check.py`, translates `curve()` (and `shaping()` as a control), compiles it with `dxc -Gis [flags] -T <target> -E main` and draws it with `offscreen_check <backend> --check-pixel-case` for both gains (0.75, 1.125) against the harness's own `curve_case` / `shaping_case` references. I confirmed in the `-Fc` listing that each build carries the expected `"fp32-denorm-mode"` function attribute (`preserve` / `ftz` / `any`). | Program | Target | Flags | RTX 3070 (32.0.16.2101) | WARP | |---|---|---|---|---| | curve | ps_6_0 | none | PSO created, match | match | | curve | ps_6_2 | none | PSO created, match | match | | curve | ps_6_2 | `-denorm any` | PSO created, match | match | | curve | ps_6_2 | `-denorm ftz` | PSO created, match | match | | curve | ps_6_2 | `-denorm preserve` | **PSO created, match** | match | | curve | ps_6_5 | `-denorm preserve` | **PSO created, match** | match | | curve | ps_6_6 | `-denorm preserve` | **PSO created, match** | match | | shaping | same 7 variants | | all PSO created, match | all match | Every draw: return code 0, `pixels=4096 channels=16384 max_absolute_error=0`. **Conclusion (scoped)** On the RTX 3070 with driver 32.0.16.2101, the curve program under `-denorm preserve` is accepted at PSO creation and matches the reference bit-for-bit, so the `E_OUTOFMEMORY` refusal does not reproduce on this Ampere adapter / driver combination. From one machine I can't tell whether the difference comes from the architecture (Blackwell vs Ampere) or from the driver build (32.0.16.2124 vs 32.0.16.2101), so I'd read it as "not universal on NVIDIA" rather than as a cause. That seems consistent with keeping the exception recorded as a per-fixture `any` with the asserted mode independence, rather than as a general NVIDIA rule. A run of the same probe on an Ampere card with 32.0.16.2124, or on the RTX 5060 Ti with an older driver, would separate driver from architecture. The probe script is short and needs only the build outputs of this branch; happy to attach it if that helps. _AI-assisted: run and prepared with the support of Roan System; reviewed before posting._
abilliontokens commented 2026-11-24 06:48:18 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by abilliontokens on 2026-11-22T02:26:09Z.


Thanks @roansystemlabs — that's a genuinely useful data point: it confirms the curve-program -denorm preserve PSO refusal is not universal on NVIDIA, which supports reading the recorded exception as per-adapter/per-driver rather than as a general NVIDIA rule.

On the requested separating runs: this machine's drivers can't be downgraded or swapped, so neither an Ampere card on 32.0.16.2124 nor the RTX 5060 Ti on an older driver is obtainable here — that's a limitation of our setup, not an objection. The resolution doesn't depend on which trigger it is: per the #312 owner approval ("record unknown/any as such"), the curve fixture records mode any with a machine-checked assertion that its expected rows are subnormal-free, so it's correct either way, and the RTX 5060 Ti / 32.0.16.2124 refusal stays recorded as measured on that exact combination.

If anyone else has an Ampere card on 32.0.16.2124 (or can swap drivers), please run the same probe and add the separating data point.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7072905303 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/363#issuecomment-7072905303). Originally posted by [abilliontokens](https://github.com/abilliontokens) on 2026-11-22T02:26:09Z. --- Thanks @roansystemlabs — that's a genuinely useful data point: it confirms the curve-program `-denorm preserve` PSO refusal is not universal on NVIDIA, which supports reading the recorded exception as per-adapter/per-driver rather than as a general NVIDIA rule. On the requested separating runs: this machine's drivers can't be downgraded or swapped, so neither an Ampere card on 32.0.16.2124 nor the RTX 5060 Ti on an older driver is obtainable here — that's a limitation of our setup, not an objection. The resolution doesn't depend on which trigger it is: per the #312 owner approval ("record unknown/any as such"), the curve fixture records mode `any` with a machine-checked assertion that its expected rows are subnormal-free, so it's correct either way, and the RTX 5060 Ti / 32.0.16.2124 refusal stays recorded as measured on that exact combination. If anyone else has an Ampere card on 32.0.16.2124 (or can swap drivers), please run the same probe and add the separating data point. _AI-assisted._
R0Y00 commented 2026-11-24 06:48:23 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T03:44:23Z.


The current GitHub merge is textually clean, but I inspected the combined tree and found six DXC invocations still targeting ps_6_0 without an explicit f32 mode. They are in check_class_draw, check_mad_draw, check_int_predicate_draws (twice), check_half_draw, and check_affine_lod_draw in tests/pixel_aot_check.py. Please reconcile this branch with current main and route those calls through the mode-aware compiler helper, including the affine function’s local variable also named compile_shader. Keep the per-instruction FTZ behavior and any justified per-draw override. Please rerun the combined ^pixel_aot_ tests and record per-backend timings against the current timeout. Fixing #363 first will let the export-mask stack inherit the same contract.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7073745198 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/363#issuecomment-7073745198). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-22T03:44:23Z. --- The current GitHub merge is textually clean, but I inspected the combined tree and found six DXC invocations still targeting `ps_6_0` without an explicit f32 mode. They are in `check_class_draw`, `check_mad_draw`, `check_int_predicate_draws` (twice), `check_half_draw`, and `check_affine_lod_draw` in `tests/pixel_aot_check.py`. Please reconcile this branch with current main and route those calls through the mode-aware compiler helper, including the affine function’s local variable also named `compile_shader`. Keep the per-instruction FTZ behavior and any justified per-draw override. Please rerun the combined `^pixel_aot_` tests and record per-backend timings against the current timeout. Fixing #363 first will let the export-mask stack inherit the same contract.
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!357
No description provided.