Isolate DXC compile time in a source-built mixed-sampler compute shader #769

Closed
opened 2026-11-23 02:13:28 +00:00 by R0Y00 · 13 comments
R0Y00 commented 2026-11-23 02:13:28 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T02:13:28Z.


Refs #676. In the fixed-profile measurements, all 702 compute records previously blocked at SampleLevel emitted HLSL. Seven compiled within 90 seconds and the other 695 timed out. We need a public reproducer to identify where compilation time goes before changing the bridge. This is independent of the WARP output investigation in #768.

Start with tests/spirv_window/sampler.py and its source-built module. Keep one texture and both sampler views, and a distinguishable UAV result. Compare a small control with a generated family that varies one property at a time, initially repeated samples versus control-flow size. Claim the variable you are testing and name any overlapping PR.

  • Pin the DXC version and record the exact command, machine, concurrency, input size, wall time, peak memory and outcome for each size. Use the existing cs_6_6 / native 16-bit / default optimization configuration for the baseline. Repeat representative sizes.
  • Distinguish timeout, compiler diagnostic and successful DXIL emission. Keep alternative compilation flags in a separately labeled diagnostic run. Timing is a local measurement; keep machine-dependent thresholds out of CI.
  • For the first reproducible slowdown, reduce it to a source-built pair and check the successful variants against the same expected UAV values. If no comparable slowdown reproduces, publish the measured range and limits before proposing a translator change.
  • Share synthetic source and aggregate measurements only. The deliverable for this issue is a reproducible diagnosis. A behavior change can follow once the cause is established.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6550859976 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T02:13:28Z. --- Refs #676. In the [fixed-profile measurements](https://github.com/R0Y00/Xbox2Windows/pull/676#issuecomment-7087771676), all 702 compute records previously blocked at SampleLevel emitted HLSL. Seven compiled within 90 seconds and the other 695 timed out. We need a public reproducer to identify where compilation time goes before changing the bridge. This is independent of the WARP output investigation in #768. Start with tests/spirv_window/sampler.py and its source-built module. Keep one texture and both sampler views, and a distinguishable UAV result. Compare a small control with a generated family that varies one property at a time, initially repeated samples versus control-flow size. Claim the variable you are testing and name any overlapping PR. - Pin the DXC version and record the exact command, machine, concurrency, input size, wall time, peak memory and outcome for each size. Use the existing cs_6_6 / native 16-bit / default optimization configuration for the baseline. Repeat representative sizes. - Distinguish timeout, compiler diagnostic and successful DXIL emission. Keep alternative compilation flags in a separately labeled diagnostic run. Timing is a local measurement; keep machine-dependent thresholds out of CI. - For the first reproducible slowdown, reduce it to a source-built pair and check the successful variants against the same expected UAV values. If no comparable slowdown reproduces, publish the measured range and limits before proposing a translator change. - Share synthetic source and aggregate measurements only. The deliverable for this issue is a reproducible diagnosis. A behavior change can follow once the cause is established.
FZNull commented 2026-11-24 06:48:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by FZNull on 2026-11-23T03:20:21Z.


Source-built compile-time reproducer: DXC time concentrates in the two DXIL GVN passes

This is a measurement report for #775. I did not change the translator or the
repository; no branch was pushed. Repository bd30209 (origin/main), DXC
1.9.2609.5 (01b62ad47), Windows 11 build 26300, Ryzen 5 5500 (6c/12t,
15.9 GiB RAM), RTX 4060 driver 32.0.16.2124, SPIRV-Tools v2025.5 262bdab,
SPIRV-Cross 57e4efc. Compiles ran one at a time (sampled CPU load 1–16 %,
median 5 %).

Variable claimed: repeated SampleLevel count and control-flow size
(sample-in-branch regions) in source-built mixed-sampler compute HLSL. I found
no overlapping open PR: #676/#681 are the merged mixed-sampler bridge work and
#768 is a separate WARP readback investigation.

Fixture. The HLSL is emitted by tests/spirv_window/sampler.py unchanged
(spirv-as -> spirv-val -> tools/spirv_sampler_views.py -> spirv-cross). It
keeps one texture, both sampler views and a raw UAV, so the existing
offscreen_check --spirv-sampler-views oracle still applies:

RWByteAddressBuffer _4 : register(u0, space0);
Texture2D<float4> _2 : register(t0, space0);
SamplerComparisonState _6[2] : register(s1, space3);
SamplerState _3[2] : register(s1, space0);
void comp_main()
{
    _4.Store(gl_WorkGroupID.x * 4 + 0, asuint(_2.SampleLevel(_3[gl_WorkGroupID.x], float2(1.25f, 0.5f), 0.0f).x));
    _4.Store((gl_WorkGroupID.x + 2u) * 4 + 0, asuint(_2.SampleCmpLevelZero(_6[gl_WorkGroupID.x], float2(1.25f, 0.5f), 0.5f)));
}

Baseline command (the profile's cs_6_6 / native 16-bit / default O3 setup):

dxc.exe -T cs_6_6 -E main -enable-16bit-types -Fo out.cso variant.hlsl

Protocol: 90 s wall timeout and 2 GiB per-process cap, warm-up discarded, three
repetitions at representative sizes, median reported. The control (685 bytes) was
re-measured at start/middle/end (0.0229/0.0229/0.0238 s, 4.3 % spread).

Families (each changes one property; the emitted prologue and the two control
stores are kept verbatim so words 0–3 of the UAV are identical everywhere):

  • samples_N: N extra independent SampleLevel stores, flat control flow.
  • branches_B: B extra if/else regions with observable stores; sample count fixed.
  • Probe samplebranch_N: one SampleLevel inside each divergent region, because
    that is the shape of the CS records blocked at SampleLevel.
variant HLSL bytes median wall s peak MiB outcome
control 685 0.023 16.6 DXIL
samples_1024 107,889 0.314 36.7 DXIL
samples_4096 432,225 1.737 92.6 DXIL
samples_16384 1,735,137 7.804 313.0 DXIL
branches_1024 148,909 0.333 41.0 DXIL
branches_4096 603,565 2.063 108.6 DXIL
branches_16384 2,465,494 13.904 369.1 DXIL
samplebranch_4096 968,577 8.083 171.3 DXIL
samplebranch_8192 1,946,457 33.726 (3 reps 33.31/33.73/34.23; 27.9–46.9 across sessions) 325.2 DXIL
samplebranch_12288 2,929,337 90.044 timeout (one run compiled in 67.77; 97.68 with a raised limit) 438.3 timeout (marginal)
samplebranch_16384 3,915,833 90.046 timeout (193.124 with a raised limit) 625.8 timeout
samplebranch_16384, -Od 3,915,833 9.604 442.6 DXIL

Log-log slopes (wall vs HLSL bytes): samples 1.10, branches 1.21,
samplebranch 1.51 (256–8192); the upper range is closer to quadratic
(8192 -> 12288 is 2.9x time for 1.5x size).

Where the time goes. -ftime-report (separate labelled diagnostic run,
same flags; "Total" is LLVM/DXIL passes only):

  • samplebranch_8192: 29.31 s wall, 27.34 s passes; the two "Global Value
    Numbering" instances are 14.94 + 7.42 = 22.36 s (81.8 % of pass time),
    inliner 0.80 s.
  • samplebranch_4096: 8.35 s wall, 7.20 s passes; GVN 3.38 + 1.70 = 5.08 s
    (70.5 %).
  • branches_16384: 15.27 s wall, 13.34 s passes; GVN 4.47 + 1.94 = 6.41 s
    (48.0 %), GVN hoist 1.27 s (9.5 %).

-Od removes 25 % of the time for samples_16384, 64 % for branches_16384,
73 % for samplebranch_4096, 84 % for samplebranch_8192, and >95 % for
samplebranch_16384 (9.60 s instead of 193.12 s). -Vd saves 0.33 s on
samples_16384 (4 %), so validation is not the problem, and the frontend stays
roughly linear (about 9.6 s of -Od time on the 3.9 MB source). Trigger
reduction at fixed size: constant sampler index (-5 %), comparison sampling
instead of ordinary (+1 %), and hoisting the sample out of the branch (-3 %) all
leave the cost in place — the trigger is the coexistence of many sampling calls
and many branch/store regions in one function, not the sampler view kind or
divergence.

Minimal reproducible pair. Same generator and command, one property changed:
samplebranch_8192 (1.95 MB HLSL) compiles in every run; samplebranch_16384
(3.92 MB) exceeds the 90 s limit (193.1 s with a raised limit), and
samplebranch_12288 (2.93 MB) is marginal (67.8 s one session, >90 s in
another). This crosses the profile's 90 s threshold only at multi-MB HLSL in
this shape.

Verification. Every emitted CSO is accepted by dxv.exe (no compiler
diagnostics in any variant). The existing oracle
offscreen_check <adapter> --spirv-sampler-views <cso> passes on the RTX 4060
(32.0.16.2124) for control, samples_1024/16384, branches_1024/16384 and
samplebranch_1024/4096/8192, and on WARP (10.0.26100.10068) for the smaller
set; a negative control with one UV changed fails on both as expected. The 4
bridge tests (spirv_sampler_views_*, spirv_compare_sampler_*) pass at this
commit. samplebranch_12288 was not dispatched: NVIDIA pipeline creation for its
2.77 MB DXIL did not return within ~9 minutes (driver JIT, outside DXC).

Limits — what did not reproduce. At fixture scale (<0.5 MB HLSL) the worst
case is 2.5 s; the 90 s timeout needs ~2.9 MB of HLSL (≈12,000 sample-in-branch
regions). I could not replay an archive record: the 26,503-record profile is not
public, so I cannot claim the 695 timeouts have this shape/size. This narrows the
mechanism and publishes the curve; the next step is to record HLSL size and one
-ftime-report for the first record that times out in the replay. The 90 s /
2 GiB limits are local, machine-dependent policy and are not in CI. Timing
variance on the largest cases is ±20–45 % across sessions, so outcomes near the
threshold can flip; no translator change is proposed before the cause is
confirmed on a real record.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7090661650 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7090661650). Originally posted by [FZNull](https://github.com/FZNull) on 2026-11-23T03:20:21Z. --- ### Source-built compile-time reproducer: DXC time concentrates in the two DXIL GVN passes This is a measurement report for #775. I did not change the translator or the repository; no branch was pushed. Repository `bd30209` (origin/main), DXC **1.9.2609.5 (01b62ad47)**, Windows 11 build 26300, Ryzen 5 5500 (6c/12t, 15.9 GiB RAM), RTX 4060 driver 32.0.16.2124, SPIRV-Tools v2025.5 `262bdab`, SPIRV-Cross `57e4efc`. Compiles ran one at a time (sampled CPU load 1–16 %, median 5 %). **Variable claimed:** repeated `SampleLevel` count and control-flow size (sample-in-branch regions) in source-built mixed-sampler compute HLSL. I found no overlapping open PR: #676/#681 are the merged mixed-sampler bridge work and #768 is a separate WARP readback investigation. **Fixture.** The HLSL is emitted by `tests/spirv_window/sampler.py` unchanged (spirv-as -> spirv-val -> `tools/spirv_sampler_views.py` -> spirv-cross). It keeps one texture, both sampler views and a raw UAV, so the existing `offscreen_check --spirv-sampler-views` oracle still applies: ```hlsl RWByteAddressBuffer _4 : register(u0, space0); Texture2D<float4> _2 : register(t0, space0); SamplerComparisonState _6[2] : register(s1, space3); SamplerState _3[2] : register(s1, space0); void comp_main() { _4.Store(gl_WorkGroupID.x * 4 + 0, asuint(_2.SampleLevel(_3[gl_WorkGroupID.x], float2(1.25f, 0.5f), 0.0f).x)); _4.Store((gl_WorkGroupID.x + 2u) * 4 + 0, asuint(_2.SampleCmpLevelZero(_6[gl_WorkGroupID.x], float2(1.25f, 0.5f), 0.5f))); } ``` Baseline command (the profile's cs_6_6 / native 16-bit / default O3 setup): ``` dxc.exe -T cs_6_6 -E main -enable-16bit-types -Fo out.cso variant.hlsl ``` Protocol: 90 s wall timeout and 2 GiB per-process cap, warm-up discarded, three repetitions at representative sizes, median reported. The control (685 bytes) was re-measured at start/middle/end (0.0229/0.0229/0.0238 s, 4.3 % spread). **Families** (each changes one property; the emitted prologue and the two control stores are kept verbatim so words 0–3 of the UAV are identical everywhere): - `samples_N`: N extra independent `SampleLevel` stores, flat control flow. - `branches_B`: B extra if/else regions with observable stores; sample count fixed. - Probe `samplebranch_N`: one `SampleLevel` inside each divergent region, because that is the shape of the CS records blocked at `SampleLevel`. | variant | HLSL bytes | median wall s | peak MiB | outcome | |---|---:|---:|---:|---| | control | 685 | 0.023 | 16.6 | DXIL | | samples_1024 | 107,889 | 0.314 | 36.7 | DXIL | | samples_4096 | 432,225 | 1.737 | 92.6 | DXIL | | samples_16384 | 1,735,137 | 7.804 | 313.0 | DXIL | | branches_1024 | 148,909 | 0.333 | 41.0 | DXIL | | branches_4096 | 603,565 | 2.063 | 108.6 | DXIL | | branches_16384 | 2,465,494 | 13.904 | 369.1 | DXIL | | samplebranch_4096 | 968,577 | 8.083 | 171.3 | DXIL | | samplebranch_8192 | 1,946,457 | 33.726 (3 reps 33.31/33.73/34.23; 27.9–46.9 across sessions) | 325.2 | DXIL | | samplebranch_12288 | 2,929,337 | 90.044 timeout (one run compiled in 67.77; 97.68 with a raised limit) | 438.3 | timeout (marginal) | | samplebranch_16384 | 3,915,833 | 90.046 timeout (193.124 with a raised limit) | 625.8 | timeout | | samplebranch_16384, `-Od` | 3,915,833 | 9.604 | 442.6 | DXIL | Log-log slopes (wall vs HLSL bytes): samples **1.10**, branches **1.21**, samplebranch **1.51** (256–8192); the upper range is closer to quadratic (8192 -> 12288 is 2.9x time for 1.5x size). **Where the time goes.** `-ftime-report` (separate labelled diagnostic run, same flags; "Total" is LLVM/DXIL passes only): - `samplebranch_8192`: 29.31 s wall, 27.34 s passes; the two "Global Value Numbering" instances are 14.94 + 7.42 = 22.36 s (**81.8 %** of pass time), inliner 0.80 s. - `samplebranch_4096`: 8.35 s wall, 7.20 s passes; GVN 3.38 + 1.70 = 5.08 s (70.5 %). - `branches_16384`: 15.27 s wall, 13.34 s passes; GVN 4.47 + 1.94 = 6.41 s (48.0 %), GVN hoist 1.27 s (9.5 %). `-Od` removes 25 % of the time for `samples_16384`, 64 % for `branches_16384`, 73 % for `samplebranch_4096`, 84 % for `samplebranch_8192`, and **>95 %** for `samplebranch_16384` (9.60 s instead of 193.12 s). `-Vd` saves 0.33 s on `samples_16384` (4 %), so validation is not the problem, and the frontend stays roughly linear (about 9.6 s of `-Od` time on the 3.9 MB source). Trigger reduction at fixed size: constant sampler index (-5 %), comparison sampling instead of ordinary (+1 %), and hoisting the sample out of the branch (-3 %) all leave the cost in place — the trigger is the coexistence of many sampling calls and many branch/store regions in one function, not the sampler view kind or divergence. **Minimal reproducible pair.** Same generator and command, one property changed: `samplebranch_8192` (1.95 MB HLSL) compiles in every run; `samplebranch_16384` (3.92 MB) exceeds the 90 s limit (193.1 s with a raised limit), and `samplebranch_12288` (2.93 MB) is marginal (67.8 s one session, >90 s in another). This crosses the profile's 90 s threshold only at multi-MB HLSL in this shape. **Verification.** Every emitted CSO is accepted by `dxv.exe` (no compiler diagnostics in any variant). The existing oracle `offscreen_check <adapter> --spirv-sampler-views <cso>` passes on the RTX 4060 (32.0.16.2124) for control, `samples_1024/16384`, `branches_1024/16384` and `samplebranch_1024/4096/8192`, and on WARP (10.0.26100.10068) for the smaller set; a negative control with one UV changed fails on both as expected. The 4 bridge tests (`spirv_sampler_views_*`, `spirv_compare_sampler_*`) pass at this commit. `samplebranch_12288` was not dispatched: NVIDIA pipeline creation for its 2.77 MB DXIL did not return within ~9 minutes (driver JIT, outside DXC). **Limits — what did not reproduce.** At fixture scale (<0.5 MB HLSL) the worst case is 2.5 s; the 90 s timeout needs ~2.9 MB of HLSL (≈12,000 sample-in-branch regions). I could not replay an archive record: the 26,503-record profile is not public, so I cannot claim the 695 timeouts have this shape/size. This narrows the mechanism and publishes the curve; the next step is to record HLSL size and one `-ftime-report` for the first record that times out in the replay. The 90 s / 2 GiB limits are local, machine-dependent policy and are not in CI. Timing variance on the largest cases is ±20–45 % across sessions, so outcomes near the threshold can flip; no translator change is proposed before the cause is confirmed on a real record.
R0Y00 commented 2026-11-24 06:48:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T04:07:03Z.


Thanks for pinning the compiler and separating validation, optimization and driver JIT. The source-built pair crosses 90 seconds between roughly 1.95 and 3.92 MB, and the two GVN passes accounted for 81.8% of LLVM/DXIL pass time at 8,192 sample/branch regions. Please submit the generator and a compact reproduction record, including which outputs the oracle checked and the separate driver JIT timeout. Keep the archive-replay attribution open until a failing local record supplies input size and pass-time totals. Aggregate measurements are enough.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7091288003 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7091288003). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T04:07:03Z. --- Thanks for pinning the compiler and separating validation, optimization and driver JIT. The source-built pair crosses 90 seconds between roughly 1.95 and 3.92 MB, and the two GVN passes accounted for 81.8% of LLVM/DXIL pass time at 8,192 sample/branch regions. Please submit the generator and a compact reproduction record, including which outputs the oracle checked and the separate driver JIT timeout. Keep the archive-replay attribution open until a failing local record supplies input size and pass-time totals. Aggregate measurements are enough.
R0Y00 commented 2026-11-24 06:49:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T05:08:38Z.


Local archive follow-up using Windows SDK DXC 1.8.2502.11, cs_6_6, native 16-bit, one compiler process. The 695 previous SampleLevel timeout records represent 670 distinct HLSL files, median 17.19 MB (range 1.87–32.70 MB). The seven successful files have a median of 2.60 MB (range 1.36–4.66 MB). Median-size successful control: 32.54 s with -ftime-report, with Jump Threading taking 19.98 s (62.2% of reported pass wall time). Median-size timeout sample: default optimization still timed out after 480 s without a pass report. The same source at -Od emitted DXIL in 75.20 s. Its top reported passes were Dxil Erase Dead Region (31.09 s, 53.5%) and Dxil Conditional Mem2Reg (15.26 s, 26.3%). This reproduces strong optimization sensitivity on a package record, with a different measured profile from the source-built GVN case. The -Od output has not been established as equivalent on GPU. Keep attribution of the default-optimization stall and the broader cohort open.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7092153840 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7092153840). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T05:08:38Z. --- Local archive follow-up using Windows SDK DXC 1.8.2502.11, cs_6_6, native 16-bit, one compiler process. The 695 previous SampleLevel timeout records represent 670 distinct HLSL files, median 17.19 MB (range 1.87–32.70 MB). The seven successful files have a median of 2.60 MB (range 1.36–4.66 MB). Median-size successful control: 32.54 s with -ftime-report, with Jump Threading taking 19.98 s (62.2% of reported pass wall time). Median-size timeout sample: default optimization still timed out after 480 s without a pass report. The same source at -Od emitted DXIL in 75.20 s. Its top reported passes were Dxil Erase Dead Region (31.09 s, 53.5%) and Dxil Conditional Mem2Reg (15.26 s, 26.3%). This reproduces strong optimization sensitivity on a package record, with a different measured profile from the source-built GVN case. The -Od output has not been established as equivalent on GPU. Keep attribution of the default-optimization stall and the broader cohort open.
FZNull commented 2026-11-24 06:49:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by FZNull on 2026-11-23T05:28:37Z.


Thanks — the archive numbers change the scale of the question, and they are worth stating against the source-built curve explicitly.

Your median timeout record is 17.19 MB of HLSL (range 1.87–32.70 MB); my pair crosses 90 s between 1.95 and 3.92 MB. So the median record is 4.4x the upper end of the pair and 8.8x its lower end, and the successful files (median 2.60 MB, range 1.36–4.66 MB) overlap the pair almost exactly. That is the useful part: the source-built pair brackets the successful side of the cohort, not the failing side. Extrapolating my measured superlinear segment (2.9x time for 1.5x source, 8192 -> 12288) from 3.92 MB to 17.19 MB is well past 480 s, which is consistent with your default-optimization stall, but that is an extrapolation across 4.4x of source and I am not claiming it as a measurement.

Your profile also differs from what I measured, in a way that argues for keeping attribution open as you asked: source-built samplebranch is dominated by the two GVN instances (81.8 % of pass time), while your successful control is dominated by Jump Threading (62.2 %) and your -Od timeout sample by Dxil Erase Dead Region (53.5 %) plus Dxil Conditional Mem2Reg (26.3 %). Different HLSL shapes, different dominant passes — the common fact is only that default optimization is where the time goes and -Od collapses it. I am also noting your point that the -Od output has not been established as equivalent on GPU; I would not treat it as a workaround until that is measured.

Two things I can submit, as you asked:

  1. The generator, as a tools/ script: the same control plus the three families (samples_N, branches_B, samplebranch_N), the pinned compile command, and a compact CSV/JSON record of wall time, peak memory and outcome per variant. No CI registration and no machine-dependent thresholds in the tree.
  2. A compact reproduction record in docs/experiments.md: the table above, plus explicitly (a) which outputs the oracle checked — offscreen_check <adapter> --spirv-sampler-views on the RTX 4060 for control, samples_1024/16384, branches_1024/16384 and samplebranch_1024/4096/8192, and on WARP for the smaller set, with the UV-altered negative control failing on both; and (b) the separate driver JIT timeout, kept out of the DXC accounting: samplebranch_12288 (2.77 MB of DXIL) never returned from NVIDIA pipeline creation within ~9 minutes on the RTX 4060, which is why that variant has no GPU readback.

I will keep the archive-replay attribution open in the text and repeat your framing: the next useful datum is input size plus -ftime-report totals from a failing local record.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7092439548 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7092439548). Originally posted by [FZNull](https://github.com/FZNull) on 2026-11-23T05:28:37Z. --- Thanks — the archive numbers change the scale of the question, and they are worth stating against the source-built curve explicitly. Your median timeout record is **17.19 MB of HLSL** (range 1.87–32.70 MB); my pair crosses 90 s between **1.95 and 3.92 MB**. So the median record is 4.4x the upper end of the pair and 8.8x its lower end, and the successful files (median 2.60 MB, range 1.36–4.66 MB) overlap the pair almost exactly. That is the useful part: the source-built pair brackets the *successful* side of the cohort, not the failing side. Extrapolating my measured superlinear segment (2.9x time for 1.5x source, 8192 -> 12288) from 3.92 MB to 17.19 MB is well past 480 s, which is consistent with your default-optimization stall, but that is an extrapolation across 4.4x of source and I am not claiming it as a measurement. Your profile also differs from what I measured, in a way that argues for keeping attribution open as you asked: source-built `samplebranch` is dominated by the two GVN instances (81.8 % of pass time), while your successful control is dominated by Jump Threading (62.2 %) and your `-Od` timeout sample by Dxil Erase Dead Region (53.5 %) plus Dxil Conditional Mem2Reg (26.3 %). Different HLSL shapes, different dominant passes — the common fact is only that default optimization is where the time goes and `-Od` collapses it. I am also noting your point that the `-Od` output has not been established as equivalent on GPU; I would not treat it as a workaround until that is measured. Two things I can submit, as you asked: 1. **The generator**, as a `tools/` script: the same control plus the three families (`samples_N`, `branches_B`, `samplebranch_N`), the pinned compile command, and a compact CSV/JSON record of wall time, peak memory and outcome per variant. No CI registration and no machine-dependent thresholds in the tree. 2. **A compact reproduction record** in `docs/experiments.md`: the table above, plus explicitly (a) which outputs the oracle checked — `offscreen_check <adapter> --spirv-sampler-views` on the RTX 4060 for control, `samples_1024/16384`, `branches_1024/16384` and `samplebranch_1024/4096/8192`, and on WARP for the smaller set, with the UV-altered negative control failing on both; and (b) the separate driver JIT timeout, kept out of the DXC accounting: `samplebranch_12288` (2.77 MB of DXIL) never returned from NVIDIA pipeline creation within ~9 minutes on the RTX 4060, which is why that variant has no GPU readback. I will keep the archive-replay attribution open in the text and repeat your framing: the next useful datum is input size plus `-ftime-report` totals from a failing local record.
R0Y00 commented 2026-11-24 06:49:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T05:31:46Z.


Follow-up on the same 17,188,611-byte input and Windows SDK DXC 1.8.2502.11. With default optimization, the 240-second -print-before-all trace last entered Rotate Loops (loop-rotate). An independent 180-second run with only -print-before loop-rotate -print-after loop-rotate recorded six entries and five exits, with the final entry unmatched. This locates the observed stall at loop rotation (including the diagnostic IR emission), without estimating its share of an uninstrumented run or attributing all 695 timeouts to it. The same -Od DXIL created a compute PSO on WARP. RTX 4060 Laptop reached the process memory limit at both the standard 1,400 MiB limit and an isolated 3 GiB retry. These are pipeline results. An independent expected GPU result for this exact archive program still requires its guest descriptor bindings and inputs. No compiler flag or default runtime behavior changed.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7092485134 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7092485134). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T05:31:46Z. --- Follow-up on the same 17,188,611-byte input and Windows SDK DXC 1.8.2502.11. With default optimization, the 240-second -print-before-all trace last entered Rotate Loops (loop-rotate). An independent 180-second run with only -print-before loop-rotate -print-after loop-rotate recorded six entries and five exits, with the final entry unmatched. This locates the observed stall at loop rotation (including the diagnostic IR emission), without estimating its share of an uninstrumented run or attributing all 695 timeouts to it. The same -Od DXIL created a compute PSO on WARP. RTX 4060 Laptop reached the process memory limit at both the standard 1,400 MiB limit and an isolated 3 GiB retry. These are pipeline results. An independent expected GPU result for this exact archive program still requires its guest descriptor bindings and inputs. No compiler flag or default runtime behavior changed.
FZNull commented 2026-11-24 06:49:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by FZNull on 2026-11-23T05:41:31Z.


Submitted as #801: tools/dxc_compile_time.py (the generator) plus the compact reproduction record in docs/experiments.md, with the three things you asked to keep explicit:

  • (a) Outputs the oracle checked. offscreen_check <adapter> --spirv-sampler-views on the RTX 4060 for control, samples_1024/16384, branches_1024/16384 and samplebranch_1024/4096/8192; on WARP for control, samples_1024, branches_1024 and samplebranch_4096; the UV-altered negative control fails on both. That checks the four control words of each compiled variant, not GPU equivalence for arbitrary inputs.
  • (b) Driver JIT timeout, separate. samplebranch_12288 was never dispatched: NVIDIA pipeline creation for its 2.77 MB of DXIL did not return within about 9 minutes on the RTX 4060. It is excluded from every DXC time above and is not part of the compile-time attribution.
  • (c) Archive-replay attribution open. The text says the profile is not public and that these aggregates cannot say which real records time out or how large their HLSL is; closing it needs a failing local record with input size and -ftime-report totals.

The tool is not registered in CI, has no built-in threshold (--timeout is required from the caller as local policy), needs only the standard library plus DXC, and --list-variants reproduces the recorded source sizes exactly, so the table can be re-measured rather than trusted.

I took your point that the -Od output is not established as equivalent on GPU; the doc does not offer it as a workaround, only as evidence that the optimizer is where the time goes.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7092633284 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7092633284). Originally posted by [FZNull](https://github.com/FZNull) on 2026-11-23T05:41:31Z. --- Submitted as #801: `tools/dxc_compile_time.py` (the generator) plus the compact reproduction record in `docs/experiments.md`, with the three things you asked to keep explicit: - **(a) Outputs the oracle checked.** `offscreen_check <adapter> --spirv-sampler-views` on the RTX 4060 for control, `samples_1024/16384`, `branches_1024/16384` and `samplebranch_1024/4096/8192`; on WARP for control, `samples_1024`, `branches_1024` and `samplebranch_4096`; the UV-altered negative control fails on both. That checks the four control words of each compiled variant, not GPU equivalence for arbitrary inputs. - **(b) Driver JIT timeout, separate.** `samplebranch_12288` was never dispatched: NVIDIA pipeline creation for its 2.77 MB of DXIL did not return within about 9 minutes on the RTX 4060. It is excluded from every DXC time above and is not part of the compile-time attribution. - **(c) Archive-replay attribution open.** The text says the profile is not public and that these aggregates cannot say which real records time out or how large their HLSL is; closing it needs a failing local record with input size and `-ftime-report` totals. The tool is not registered in CI, has no built-in threshold (`--timeout` is required from the caller as local policy), needs only the standard library plus DXC, and `--list-variants` reproduces the recorded source sizes exactly, so the table can be re-measured rather than trusted. I took your point that the `-Od` output is not established as equivalent on GPU; the doc does not offer it as a workaround, only as evidence that the optimizer is where the time goes.
R0Y00 commented 2026-11-24 06:49:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T07:02:31Z.


The public generator and measurements merged in #801 (869a825). I verified four small variants and a forced timeout with Windows SDK DXC. The report keeps the source-built compiler timing, the separate RTX pipeline creation timeout, and the instrumented archive loop-rotate trace distinct. This issue stays open for uninstrumented optimization attribution and evidence across the replay cohort.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7093924558 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7093924558). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T07:02:31Z. --- The public generator and measurements merged in #801 (`869a825`). I verified four small variants and a forced timeout with Windows SDK DXC. The report keeps the source-built compiler timing, the separate RTX pipeline creation timeout, and the instrumented archive `loop-rotate` trace distinct. This issue stays open for uninstrumented optimization attribution and evidence across the replay cohort.
rasptum commented 2026-11-24 06:49:13 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T15:16:50Z.


Claiming a follow-up slice for #775 (milestone: #676 replay profile, mixed-sampler compute compile time; interface: tools/dxc_compile_time.py plus a new compile-only CTest).

Variable: the loop constructs the bridge emits around structured control flow (loop-wrapped sample/store regions), to test whether a source-built family reaches the optimizer stall at fixture scale instead of multi-MB HLSL, and which pass (loop-rotate / jump threading / GVN) holds the time uninstrumented. Deliverable: a minimized source-built reproducer and a compile-only regression test with a forced-timeout negative control. No timing threshold goes into CI. No archive data will be shared. I found no overlapping open PR.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7105316482 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7105316482). Originally posted by [rasptum](https://github.com/rasptum) on 2026-11-23T15:16:50Z. --- Claiming a follow-up slice for #775 (milestone: #676 replay profile, mixed-sampler compute compile time; interface: `tools/dxc_compile_time.py` plus a new compile-only CTest). Variable: the loop constructs the bridge emits around structured control flow (loop-wrapped sample/store regions), to test whether a source-built family reaches the optimizer stall at fixture scale instead of multi-MB HLSL, and which pass (loop-rotate / jump threading / GVN) holds the time uninstrumented. Deliverable: a minimized source-built reproducer and a compile-only regression test with a forced-timeout negative control. No timing threshold goes into CI. No archive data will be shared. I found no overlapping open PR.
rasptum commented 2026-11-24 06:49:22 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T17:09:34Z.


Follow-up to my claim above. I submitted #918: condstore_N / stores_N in tools/dxc_compile_time.py and a compile-only CTest dxc_compile_time_gvn.

The loop wrapper I claimed turned out not to be needed. Reducing samplebranch_N shows the GVN cost needs no sampler at all. N conditional raw-UAV stores are enough, and the same stores without the if scale linearly. Loop and for (;;) switch wrappers only make it slower again. Pre-GVN IR re-creates the UAV handle in every conditional block. The quadratic memory-dependence walk that would explain this is a hypothesis, not established.

Compiler only. No PSO or driver JIT numbers here. Ryzen 7 3700X, Windows 10 19045, one compile at a time, -T cs_6_6 -E main -enable-16bit-types. The builds are DXC 1.7.2308.16 (52da17e29, Windows SDK 10.0.26100) and 1.9.0.5512 (01b62ad47, LunarG Vulkan SDK 1.4.363.0). 1.8.2502.11 was not available.

variant setting HLSL bytes 1.7 wall s 1.7 peak MiB 1.7 outcome 1.9 wall s 1.9 peak MiB 1.9 outcome
stores_16384 default 663,813 2.598 90.2 pass 2.519 91.4 pass
condstore_2048 default 214,615 3.259 141.2 pass 5.045 145.8 pass
condstore_4096 default 429,655 12.993 480.1 pass 23.906 485.3 pass
condstore_8192 90 s policy 859,735 68.794 1,806.0 pass 90.093 1,807.8 timeout
condstore_16384 90 s policy 1,734,047 90.269 2,548.6 timeout 90.261 2,735.4 timeout
condstore_16384 900 s limit 1,734,047 382.221 6,917.9 pass 645.364 6,918.6 pass
condstore_16384 -opt-disable gvn 1,734,047 7.138 221.3 pass 6.351 228.7 pass
samplebranch_8192 default 1,946,457 25.481 290.2 pass 25.283 322.3 pass
samplebranch_16384 -opt-disable gvn 3,915,833 28.021 496.5 pass 17.951 511.4 pass

The rows up to condstore_4096 and the default samplebranch_8192 row are medians of three runs; the others are single runs. GVN takes 93.1 % (1.7) and 95.3 % (1.9) of the -ftime-report pass time for condstore_4096. -opt-disable gvn is a labelled diagnostic setting. Its DXIL is not GPU-checked and it is not proposed as a flag. This does not attribute the archive cohort, whose loop-rotate/Jump Threading profile is different.

Repro, from the #918 branch. The generator writes the HLSL under --work-dir and records the exact dxc command line in the JSON:

# condstore_8192 = 859,735 bytes of HLSL, condstore_16384 = 1,734,047 bytes (check with --list-variants)
python -B tools\dxc_compile_time.py --dxc <path-to-dxc.exe> --variants condstore_8192,condstore_16384 --timeout 90 --work-dir out\dxc-775 --out out\dxc-775\policy.json
# same generated inputs, one setting changed
python -B tools\dxc_compile_time.py --dxc <path-to-dxc.exe> --variants condstore_16384 --extra-arg=-opt-disable --extra-arg=gvn --timeout 300 --work-dir out\dxc-775 --out out\dxc-775\nogvn.json
# the dxc invocation the tool runs, with a 90 s wall timeout
dxc.exe -T cs_6_6 -E main -enable-16bit-types -Fo out\dxc-775\condstore_16384.cso out\dxc-775\condstore_16384.hlsl

Independent runs on other pinned DXC versions are welcome, for example 1.9.2602.17 or 1.8.2502.11. Please give the version string, the source of the build, the input bytes, wall time, peak memory and outcome.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7108238315 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7108238315). Originally posted by [rasptum](https://github.com/rasptum) on 2026-11-23T17:09:34Z. --- Follow-up to my claim above. I submitted #918: `condstore_N` / `stores_N` in `tools/dxc_compile_time.py` and a compile-only CTest `dxc_compile_time_gvn`. The loop wrapper I claimed turned out not to be needed. Reducing `samplebranch_N` shows the GVN cost needs no sampler at all. N conditional raw-UAV stores are enough, and the same stores without the `if` scale linearly. Loop and `for (;;) switch` wrappers only make it slower again. Pre-GVN IR re-creates the UAV handle in every conditional block. The quadratic memory-dependence walk that would explain this is a hypothesis, not established. Compiler only. No PSO or driver JIT numbers here. Ryzen 7 3700X, Windows 10 19045, one compile at a time, `-T cs_6_6 -E main -enable-16bit-types`. The builds are DXC 1.7.2308.16 (`52da17e29`, Windows SDK 10.0.26100) and 1.9.0.5512 (`01b62ad47`, LunarG Vulkan SDK 1.4.363.0). 1.8.2502.11 was not available. | variant | setting | HLSL bytes | 1.7 wall s | 1.7 peak MiB | 1.7 outcome | 1.9 wall s | 1.9 peak MiB | 1.9 outcome | |---|---|---:|---:|---:|---|---:|---:|---| | stores_16384 | default | 663,813 | 2.598 | 90.2 | pass | 2.519 | 91.4 | pass | | condstore_2048 | default | 214,615 | 3.259 | 141.2 | pass | 5.045 | 145.8 | pass | | condstore_4096 | default | 429,655 | 12.993 | 480.1 | pass | 23.906 | 485.3 | pass | | condstore_8192 | 90 s policy | 859,735 | 68.794 | 1,806.0 | pass | 90.093 | 1,807.8 | timeout | | condstore_16384 | 90 s policy | 1,734,047 | 90.269 | 2,548.6 | timeout | 90.261 | 2,735.4 | timeout | | condstore_16384 | 900 s limit | 1,734,047 | 382.221 | 6,917.9 | pass | 645.364 | 6,918.6 | pass | | condstore_16384 | `-opt-disable gvn` | 1,734,047 | 7.138 | 221.3 | pass | 6.351 | 228.7 | pass | | samplebranch_8192 | default | 1,946,457 | 25.481 | 290.2 | pass | 25.283 | 322.3 | pass | | samplebranch_16384 | `-opt-disable gvn` | 3,915,833 | 28.021 | 496.5 | pass | 17.951 | 511.4 | pass | The rows up to `condstore_4096` and the default `samplebranch_8192` row are medians of three runs; the others are single runs. GVN takes 93.1 % (1.7) and 95.3 % (1.9) of the `-ftime-report` pass time for `condstore_4096`. `-opt-disable gvn` is a labelled diagnostic setting. Its DXIL is not GPU-checked and it is not proposed as a flag. This does not attribute the archive cohort, whose `loop-rotate`/Jump Threading profile is different. Repro, from the #918 branch. The generator writes the HLSL under `--work-dir` and records the exact dxc command line in the JSON: ```powershell # condstore_8192 = 859,735 bytes of HLSL, condstore_16384 = 1,734,047 bytes (check with --list-variants) python -B tools\dxc_compile_time.py --dxc <path-to-dxc.exe> --variants condstore_8192,condstore_16384 --timeout 90 --work-dir out\dxc-775 --out out\dxc-775\policy.json # same generated inputs, one setting changed python -B tools\dxc_compile_time.py --dxc <path-to-dxc.exe> --variants condstore_16384 --extra-arg=-opt-disable --extra-arg=gvn --timeout 300 --work-dir out\dxc-775 --out out\dxc-775\nogvn.json # the dxc invocation the tool runs, with a 90 s wall timeout dxc.exe -T cs_6_6 -E main -enable-16bit-types -Fo out\dxc-775\condstore_16384.cso out\dxc-775\condstore_16384.hlsl ``` Independent runs on other pinned DXC versions are welcome, for example 1.9.2602.17 or 1.8.2502.11. Please give the version string, the source of the build, the input bytes, wall time, peak memory and outcome.
R0Y00 commented 2026-11-24 06:49:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T17:31:37Z.


#918 is merged. The source-built conditional-store family reproduces high GVN cost without a sampler or a PSO, and the compile-only test verifies the timeout and diagnostic paths. The next useful comparison is to take a small case that compiles in both configurations, dispatch both versions against identical inputs and compare the complete raw UAV outputs, including a wrong-output control. This would test the impact of the diagnostic option on the minimized case. The archive cohort and production flags remain open.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7108788115 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7108788115). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T17:31:37Z. --- #918 is merged. The source-built conditional-store family reproduces high GVN cost without a sampler or a PSO, and the compile-only test verifies the timeout and diagnostic paths. The next useful comparison is to take a small case that compiles in both configurations, dispatch both versions against identical inputs and compare the complete raw UAV outputs, including a wrong-output control. This would test the impact of the diagnostic option on the minimized case. The archive cohort and production flags remain open.
rasptum commented 2026-11-24 06:49:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T17:37:42Z.


Claiming the output-parity follow-up (milestone: #676 replay profile, mixed-sampler compute compile time; interface: a new CTest that compiles one small condstore_N from tools/dxc_compile_time.py with default optimization and with -opt-disable gvn, dispatches both on WARP plus a separate _hardware entry, and compares the complete raw UAV against identical synthetic inputs bit for bit). A mutated store and a corrupted expected buffer serve as wrong-output controls. No claim about production flags or the archive cohort. I found no overlapping open PR.

AI-assisted (Claude Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7108937665 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7108937665). Originally posted by [rasptum](https://github.com/rasptum) on 2026-11-23T17:37:42Z. --- Claiming the output-parity follow-up (milestone: #676 replay profile, mixed-sampler compute compile time; interface: a new CTest that compiles one small `condstore_N` from `tools/dxc_compile_time.py` with default optimization and with `-opt-disable gvn`, dispatches both on WARP plus a separate `_hardware` entry, and compares the complete raw UAV against identical synthetic inputs bit for bit). A mutated store and a corrupted expected buffer serve as wrong-output controls. No claim about production flags or the archive cohort. I found no overlapping open PR. AI-assisted (Claude Code).
rasptum commented 2026-11-24 06:49:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-23T18:58:39Z.


Output parity is in #962. condstore_256 was compiled at cs_6_0 with default optimization and with -opt-disable gvn, and both blobs were dispatched with identical inputs: a pre-filled 70,656-byte raw UAV, the sampler fixture's texture and samplers, and 1-group and 2-group dispatches. The complete raw UAV was compared bit for bit, with each other and with an expected buffer computed from the HLSL.

  • DXC 1.7.2308.16 (52da17e29) and 1.9.0.5512 (01b62ad47), each on WARP 10.0.19041.5794 (in-box) and on an RTX 3060 (driver 32.0.15.9636), Windows 10 build 19045: 0 of 17,664 words differ in every comparison, for both dispatches. The two containers differ (SHA-256 printed).
  • Wrong-output controls: a store redirected into the tail mismatches at exactly [16485, 16704], and a one-bit corruption of the expected buffer at exactly [16385], on every run.
  • cs_6_0, because the Windows 10 in-box runtime exposes SM 6.6 on neither adapter. GVN still holds 81.8 % of the pass time at cs_6_0.

This covers one minimized shader only. Production flags, cs_6_6 DXIL and the archive cohort remain open.

AI-assisted (Claude Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7110920834 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7110920834). Originally posted by [rasptum](https://github.com/rasptum) on 2026-11-23T18:58:39Z. --- Output parity is in #962. `condstore_256` was compiled at cs_6_0 with default optimization and with `-opt-disable gvn`, and both blobs were dispatched with identical inputs: a pre-filled 70,656-byte raw UAV, the sampler fixture's texture and samplers, and 1-group and 2-group dispatches. The complete raw UAV was compared bit for bit, with each other and with an expected buffer computed from the HLSL. - DXC 1.7.2308.16 (`52da17e29`) and 1.9.0.5512 (`01b62ad47`), each on WARP 10.0.19041.5794 (in-box) and on an RTX 3060 (driver 32.0.15.9636), Windows 10 build 19045: 0 of 17,664 words differ in every comparison, for both dispatches. The two containers differ (SHA-256 printed). - Wrong-output controls: a store redirected into the tail mismatches at exactly [16485, 16704], and a one-bit corruption of the expected buffer at exactly [16385], on every run. - cs_6_0, because the Windows 10 in-box runtime exposes SM 6.6 on neither adapter. GVN still holds 81.8 % of the pass time at cs_6_0. This covers one minimized shader only. Production flags, cs_6_6 DXIL and the archive cohort remain open. AI-assisted (Claude Code).
R0Y00 commented 2026-11-24 06:49:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T19:24:02Z.


The reproducible diagnosis is complete. #918 isolated the high compiler cost to a minimized conditional-store family and recorded the compile-only measurements across DXC versions. #962 adds the output comparison for condstore_256. Default optimization and the diagnostic no-GVN build matched all 70,656 UAV bytes against the reference on both WARP and an RTX 4060 Laptop, for one and two groups. Both wrong-output controls were detected. The archive-wide timing and any production compiler flag change remain separate.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7111549968 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/775#issuecomment-7111549968). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T19:24:02Z. --- The reproducible diagnosis is complete. #918 isolated the high compiler cost to a minimized conditional-store family and recorded the compile-only measurements across DXC versions. #962 adds the output comparison for condstore_256. Default optimization and the diagnostic no-GVN build matched all 70,656 UAV bytes against the reference on both WARP and an RTX 4060 Laptop, for one and two groups. Both wrong-output controls were detected. The archive-wide timing and any production compiler flag change remain separate.
Sign in to join this conversation.
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#769
No description provided.