shaders: benchmark direct DXIL PSO compilation #1792

Open
mokkamokacaffe wants to merge 4 commits from upstream-pr/1802 into main
mokkamokacaffe commented 2026-11-24 20:55:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mokkamokacaffe on 2026-11-24T20:55:03Z.


Part of #1269.

Extends the exact-record PSO benchmark to compare the HLSL/DXC and Direct-DXIL routes. D3D12 cache disabling is requested for every measured call, but the output explicitly does not claim that a driver performed a cold compile.

What is in it

  • Add --measure-pso ... --backend hlsl|direct for one exact console compute record.
  • Refuse silent HLSL fallback in Direct-DXIL measurements.
  • Use the same root signature, static samplers, adapter, window count and split-wave setting for both backends.
  • Report record identity, adapter, translation and DXC time, DXIL size, every driver PSO time and the median in JSON and text output.
  • Report cache_disable_requested: true and cold_compile_verified: false; document that D3D12 cache control is a driver hint and a fast repeat is not proof of a cold compile.
  • Add argument validation and reproducibility documentation.

Tested

  • On fbdc063e, the Windows workspace built and the four-thread workspace suite passed 2,900 tests with 0 failures and 51 ignored. The run also printed 24 explicit skips (22 wave64, two heap-window prerequisites). Five worker-stack tests and one measurement test passed in focused reruns. Both revisions built in release mode. The benchmark harness passed in test mode.

  • On the RTX 4080 SUPER, synthetic compute record 6765ef35de7cdd3d produced 2,516 bytes of Direct DXIL and 4,288 bytes via HLSL/DXC. Two measurements per invocation exercised the default, the environment override, and explicit backend selection against each opposite environment setting. Driver cold-compilation time remains unverified.

  • On f2fbd8a1, the four-thread and serial Windows workspace runs each passed 2,740 tests (49 ignored). The regression section records the earlier intermittent failures and the paired smoke. The synthetic CLI check exercised both backends on the RTX 4080 SUPER.

  • Daydream3r report — Independent Windows 11 / RTX 5070 Ti validation on predecessor 7d14d49: cargo build --release -p xcl passed; cargo test --workspace -- --test-threads=4 reported 891 passed, 0 failed, 42 ignored. Exact-record Direct-DXIL translation and validation translated one CS with zero unsupported programs, validator failures, panics or timeouts.

  • On that RTX 5070 Ti, both backends successfully measured retail record 1404420b38db8597 (CS_PedStandardSkinning_3). Direct produced 264,408-byte DXIL; HLSL produced 395,152-byte DXIL. Without vendor cache control, repeat times collapsed to milliseconds despite D3D12 accepting the cache-disable request.

  • A temporary per-application NVIDIA profile with shader disk caching disabled prevented that collapse on the same machine. Interleaved medians were 3.16–3.23 s for Direct and 5.40–5.60 s for HLSL. This validates one controlled procedure on one adapter and record, not all drivers or guaranteed cold compilation.

  • futurepro62 report — Additional predecessor workspace runs reported no new failures: RTX 5070 Ti 889 passed, AMD RDNA2 iGPU 891 passed, 0 failed in both after the documented environment-specific skips.

  • DavidM1911 report — An RTX 3060 Ti report tested a predecessor merged with then-current main: cargo test -p xcl --lib passed with 0 failures and approximately 23 ignored tests.

  • JJAutoCompare report — Intel Arc A770 at 4edddca: workspace build and --no-run passed; argument validation passed. Cache control returned 0x887A002D, so successful benchmark JSON/timing was not covered. Its broader GPU suite had failures without a matched main run, so no regression attribution was made.

  • git diff --check: passed on rebased head a01669b516e8ffdf4726bf2027ea81c664a32017.

Regression run

Main ran first, followed by the PR on the same RTX 4080 SUPER. Each clean worktree used its own release binary and smoke script, an independent empty XCL cache, and XCL_PREPARE=0. Both 60-second runs exited successfully.

Main

xcl-smoke v1
commit: 493dbd3dd0cd50b4c3e8d28f73ab9b504fcd8158
gpu: NVIDIA GeForce RTX 4080 SUPER
title: retail-local
seconds: 60
exit: 0x0
frames shown: 1659 (PresentX 1659)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15879 MB

PR

xcl-smoke v1
commit: fbdc063e5a47ba7f4fc59035d5313034282f7567
gpu: NVIDIA GeForce RTX 4080 SUPER
title: retail-local
seconds: 60
exit: 0x0
frames shown: 1657 (PresentX 1657)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15900 MB

Historical comparison on predecessor f2fbd8a1

Conflict repair on pinned main 0fe06eb0f0, PR head f2fbd8a1ed. Final four-thread workspace run with other repair workloads finished: 2740 passed, 0 failed, 49 ignored, 27 explicit SKIPPED lines. The serial PR run and pinned main four-thread run each passed 2,740 with 49 ignored. Earlier concurrent runs had texture assertions, poisoned locks and a two-pass cache failure; one library harness aborted with 0xc0000409. Causation remains unresolved. The two-pass test passed three further repetitions on each revision. Synthetic CLI record 6765ef35de7cdd3d produced 2,680 bytes on the direct path (also selected by XCL_DIRECT_DXIL=1) and 4,288 with an explicit HLSL override. Other local validation overlapped the smoke; no performance inference. Both release smokes used separate empty XCL caches and XCL_PREPARE=0 on the same RTX 4080 SUPER. OpenAI Codex reconciled the changes, ran validation, and prepared this update.

Main

xcl-smoke v1
commit: 0fe06eb0f05459007ebfffc67bb9983acb3a832d
gpu: NVIDIA GeForce RTX 4080 SUPER
title: retail-local
seconds: 60
exit: 0x0
frames shown: 1584 (PresentX 1584)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 16004 MB

PR

xcl-smoke v1
commit: f2fbd8a1ed21caf4e9af28171af303e835171809
gpu: NVIDIA GeForce RTX 4080 SUPER
title: retail-local
seconds: 60
exit: 0x0
frames shown: 1464 (PresentX 1464)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15846 MB

Earlier regression evidence (historical):

Historical paired retail smoke from scripts/smoke.ps1 on predecessor 3eaf978; same title and 60-second duration. These runs check startup/menu stability, not the benchmarked shader or world rendering. They no longer satisfy the exact-head requirement after the rebase to a01669b; the current pair is recorded above.

main:

xcl-smoke v1
commit: 1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6
gpu: AMD Radeon RX 9070
title: 34df7c50
seconds: 60
exit: 0x0
frames shown: 1628 (PresentX 1628)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14561 MB

PR predecessor:

xcl-smoke v1
commit: 3eaf9780ce94776a8421a1c27afd14e8b093c581
gpu: AMD Radeon RX 9070
title: 34df7c50
seconds: 60
exit: 0x0
frames shown: 1634 (PresentX 1634)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14627 MB

The predecessor produced 100.4% of main frames and 100.5% of main peak commit, with no crash or device removal.

Not tested

  • The earlier a01669b revision had compile-only coverage. A Linux-hosted cargo check -p xcl --tests --target x86_64-pc-windows-msvc attempt stopped in libudis86-sys because the environment has no MSVC lib.exe; it did not reach XCL compilation.

  • Linux/Wine and a verified vendor-cache-off procedure outside the reported NVIDIA profile experiment.

  • Full-pack measurement or GPU output parity of the selected retail shader.

  • World rendering; the historical smoke runs stopped at startup/menu scenes.

AI use

  • OpenAI Codex reconciled the worker-stack change with the benchmark backends, updated CLI help, ran the workspace and GPU checks, and recorded the paired smokes.

  • OpenAI Codex analyzed #1269 and the benchmark paths, implemented the Direct-DXIL backend option, reporting, validation and documentation, and later clarified the cache-control limitation from reviewer evidence.

  • OpenAI Codex (GPT-6.2 Astra Ultra) rebased the single PR commit onto current main, resolved the parser and pipeline-state conflict, and checked the resulting diff.

  • Codex and Claude Code were used by independent contributors to run tests, measurements and historical smoke runs and draft their posted reports; contributors checked those reports before posting.

<!-- greyfinch-sync:ivall/xcl:issue:5480168726 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1802). Originally posted by [mokkamokacaffe](https://github.com/mokkamokacaffe) on 2026-11-24T20:55:03Z. --- Part of #1269. Extends the exact-record PSO benchmark to compare the HLSL/DXC and Direct-DXIL routes. D3D12 cache disabling is requested for every measured call, but the output explicitly does not claim that a driver performed a cold compile. **What is in it** - Add `--measure-pso ... --backend hlsl|direct` for one exact console compute record. - Refuse silent HLSL fallback in Direct-DXIL measurements. - Use the same root signature, static samplers, adapter, window count and split-wave setting for both backends. - Report record identity, adapter, translation and DXC time, DXIL size, every driver PSO time and the median in JSON and text output. - Report `cache_disable_requested: true` and `cold_compile_verified: false`; document that D3D12 cache control is a driver hint and a fast repeat is not proof of a cold compile. - Add argument validation and reproducibility documentation. **Tested** - On `fbdc063e`, the Windows workspace built and the four-thread workspace suite passed 2,900 tests with 0 failures and 51 ignored. The run also printed 24 explicit skips (22 wave64, two heap-window prerequisites). Five worker-stack tests and one measurement test passed in focused reruns. Both revisions built in release mode. The benchmark harness passed in test mode. - On the RTX 4080 SUPER, synthetic compute record `6765ef35de7cdd3d` produced 2,516 bytes of Direct DXIL and 4,288 bytes via HLSL/DXC. Two measurements per invocation exercised the default, the environment override, and explicit backend selection against each opposite environment setting. Driver cold-compilation time remains unverified. - On `f2fbd8a1`, the four-thread and serial Windows workspace runs each passed 2,740 tests (49 ignored). The regression section records the earlier intermittent failures and the paired smoke. The synthetic CLI check exercised both backends on the RTX 4080 SUPER. - [Daydream3r report](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7144832912) — Independent Windows 11 / RTX 5070 Ti validation on predecessor `7d14d49`: `cargo build --release -p xcl` passed; `cargo test --workspace -- --test-threads=4` reported **891 passed, 0 failed, 42 ignored**. Exact-record Direct-DXIL translation and validation translated one CS with zero unsupported programs, validator failures, panics or timeouts. - On that RTX 5070 Ti, both backends successfully measured retail record `1404420b38db8597` (`CS_PedStandardSkinning_3`). Direct produced 264,408-byte DXIL; HLSL produced 395,152-byte DXIL. Without vendor cache control, repeat times collapsed to milliseconds despite D3D12 accepting the cache-disable request. - A temporary per-application NVIDIA profile with shader disk caching disabled prevented that collapse on the same machine. Interleaved medians were 3.16–3.23 s for Direct and 5.40–5.60 s for HLSL. This validates one controlled procedure on one adapter and record, not all drivers or guaranteed cold compilation. - [futurepro62 report](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7146148601) — Additional predecessor workspace runs reported no new failures: RTX 5070 Ti **889 passed**, AMD RDNA2 iGPU **891 passed**, 0 failed in both after the documented environment-specific skips. - [DavidM1911 report](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7148119366) — An RTX 3060 Ti report tested a predecessor merged with then-current `main`: `cargo test -p xcl --lib` passed with 0 failures and approximately 23 ignored tests. - [JJAutoCompare report](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7153033756) — Intel Arc A770 at `4edddca`: workspace build and `--no-run` passed; argument validation passed. Cache control returned `0x887A002D`, so successful benchmark JSON/timing was not covered. Its broader GPU suite had failures without a matched `main` run, so no regression attribution was made. - `git diff --check`: passed on rebased head `a01669b516e8ffdf4726bf2027ea81c664a32017`. **Regression run** Main ran first, followed by the PR on the same RTX 4080 SUPER. Each clean worktree used its own release binary and smoke script, an independent empty XCL cache, and XCL_PREPARE=0. Both 60-second runs exited successfully. Main ``` xcl-smoke v1 commit: 493dbd3dd0cd50b4c3e8d28f73ab9b504fcd8158 gpu: NVIDIA GeForce RTX 4080 SUPER title: retail-local seconds: 60 exit: 0x0 frames shown: 1659 (PresentX 1659) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15879 MB ``` PR ``` xcl-smoke v1 commit: fbdc063e5a47ba7f4fc59035d5313034282f7567 gpu: NVIDIA GeForce RTX 4080 SUPER title: retail-local seconds: 60 exit: 0x0 frames shown: 1657 (PresentX 1657) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15900 MB ``` Historical comparison on predecessor `f2fbd8a1` Conflict repair on pinned main 0fe06eb0f05459007ebfffc67bb9983acb3a832d, PR head f2fbd8a1ed21caf4e9af28171af303e835171809. Final four-thread workspace run with other repair workloads finished: 2740 passed, 0 failed, 49 ignored, 27 explicit SKIPPED lines. The serial PR run and pinned main four-thread run each passed 2,740 with 49 ignored. Earlier concurrent runs had texture assertions, poisoned locks and a two-pass cache failure; one library harness aborted with 0xc0000409. Causation remains unresolved. The two-pass test passed three further repetitions on each revision. Synthetic CLI record 6765ef35de7cdd3d produced 2,680 bytes on the direct path (also selected by XCL_DIRECT_DXIL=1) and 4,288 with an explicit HLSL override. Other local validation overlapped the smoke; no performance inference. Both release smokes used separate empty XCL caches and XCL_PREPARE=0 on the same RTX 4080 SUPER. OpenAI Codex reconciled the changes, ran validation, and prepared this update. Main ``` xcl-smoke v1 commit: 0fe06eb0f05459007ebfffc67bb9983acb3a832d gpu: NVIDIA GeForce RTX 4080 SUPER title: retail-local seconds: 60 exit: 0x0 frames shown: 1584 (PresentX 1584) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 16004 MB ``` PR ``` xcl-smoke v1 commit: f2fbd8a1ed21caf4e9af28171af303e835171809 gpu: NVIDIA GeForce RTX 4080 SUPER title: retail-local seconds: 60 exit: 0x0 frames shown: 1464 (PresentX 1464) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15846 MB ``` Earlier regression evidence (historical): Historical paired retail smoke from `scripts/smoke.ps1` on predecessor `3eaf978`; same title and 60-second duration. These runs check startup/menu stability, not the benchmarked shader or world rendering. They no longer satisfy the exact-head requirement after the rebase to `a01669b`; the current pair is recorded above. main: ```xcl-smoke xcl-smoke v1 commit: 1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6 gpu: AMD Radeon RX 9070 title: 34df7c50 seconds: 60 exit: 0x0 frames shown: 1628 (PresentX 1628) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14561 MB ``` PR predecessor: ```xcl-smoke xcl-smoke v1 commit: 3eaf9780ce94776a8421a1c27afd14e8b093c581 gpu: AMD Radeon RX 9070 title: 34df7c50 seconds: 60 exit: 0x0 frames shown: 1634 (PresentX 1634) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14627 MB ``` The predecessor produced 100.4% of main frames and 100.5% of main peak commit, with no crash or device removal. **Not tested** - The earlier `a01669b` revision had compile-only coverage. A Linux-hosted `cargo check -p xcl --tests --target x86_64-pc-windows-msvc` attempt stopped in `libudis86-sys` because the environment has no MSVC `lib.exe`; it did not reach XCL compilation. - Linux/Wine and a verified vendor-cache-off procedure outside the reported NVIDIA profile experiment. - Full-pack measurement or GPU output parity of the selected retail shader. - World rendering; the historical smoke runs stopped at startup/menu scenes. **AI use** - OpenAI Codex reconciled the worker-stack change with the benchmark backends, updated CLI help, ran the workspace and GPU checks, and recorded the paired smokes. - OpenAI Codex analyzed #1269 and the benchmark paths, implemented the Direct-DXIL backend option, reporting, validation and documentation, and later clarified the cache-control limitation from reviewer evidence. - OpenAI Codex (GPT-6.2 Astra Ultra) rebased the single PR commit onto current `main`, resolved the parser and pipeline-state conflict, and checked the resulting diff. - Codex and Claude Code were used by independent contributors to run tests, measurements and historical smoke runs and draft their posted reports; contributors checked those reports before posting.
Daydream3r commented 2026-11-24 21:30:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Daydream3r on 2026-11-24T21:21:56Z.


Independent Windows/NVIDIA validation of exact head 7d14d49b664b8053d36f3b7abeef40bb48e2e368, part of #1269. Build and tests pass here, but the apparent cache reuse below prevents me from treating the reported median as a cold driver compilation time on this machine.

Setup and checks

  • Windows 11 Pro 25H2, build 26200.6584; RTX 5070 Ti 16 GB, NVIDIA 621.01; Ryzen 7 9800X3D, 64 GB RAM; Rust 1.100.0 MSVC; DXC/DXIL 1.9.2609.5. Windows Developer Mode is enabled.
  • cargo build --release -p xcl: passed.
  • cargo test --workspace -- --test-threads=4: 891 passed, 0 failed, 42 ignored (debug). Three explicit SKIPPED checks, included in the passed count: gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware (no wave64), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows). XCL_SAMPLE_* unset, so optional external-data fixtures are not coverage of the retail pack.
  • git diff --check: passed; checkout clean, no local code patches.
  • xcl shaders <pack> --direct --hash 1404420b38db8597 --windows 4 --split 1 --validate --dump <local-dir> --json: 1 CS translated, 0 unsupported, validator failures, panics or timeouts. Dumps stay local.

Measured cache behaviour
Retail 1.0.2.1 record 1404420b38db8597, CS_PedStandardSkinning_3, release build. Commands:

xcl shaders <pack> --measure-pso 1404420b38db8597 --backend direct --windows 4 --split 1 --repeat 3 --json
xcl shaders <pack> --measure-pso 1404420b38db8597 --backend hlsl --windows 4 --split 1 --repeat 3 --json

XCL_HEAP_WINDOWS and XCL_DIRECT_DXIL unset. Both commands succeed, including ShaderCacheControl; no HLSL fallback for the direct command.

Backend Driver seconds, in order Reported median DXIL bytes Translation / DXC ms
direct 2.3430261, 0.0015173, 0.0013450 0.0015173 264408 24.7151 / n/a
hlsl 3.8389027, 0.0023389, 0.0020812 0.0023389 395152 13.2070 / 2201.5346

Three further fresh processes, direct backend, identical command except --repeat 1, give driver times 0.0015910, 0.0016459, 0.0016424 s. New processes alone therefore do not restore the initial multi-second cost here. This is consistent with cache reuse even though cache disable was accepted. I have not isolated which cache is responsible, and do not claim that the initial slow samples are proven cold or that the medians measure compiler speed. No NVIDIA profile settings or shared shader caches were changed/cleared.

Microsoft documents IMPLICIT_DRIVER_MANAGED operations as hints: https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ne-d3d12-d3d12_shader_cache_kind_flags . The measurement tool needs a verified coldness procedure or an explicit limitation before these medians can support cold-compile comparisons on this setup. The repeated-PSO loop/cache-control mechanism already exists on main; the direct backend extension makes the same issue observable for direct DXIL too.

Regression run
Same retail title, 60 s, isolated title-data and DXIL-cache copies, no input beyond the account picker. The main block is reused unchanged from the earlier same-session run of this PR's base; the head block is a new run at the exact head above. This checks startup/menu stability, not the selected skinning shader's runtime output or world rendering.

main:

xcl-smoke v1
commit: 4178e888c0b5be50a2887eda45cdb832763b68a4
gpu: NVIDIA GeForce RTX 5070 Ti
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1650 (PresentX 1650)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14653 MB

PR:

xcl-smoke v1
commit: 7d14d49b664b8053d36f3b7abeef40bb48e2e368
gpu: NVIDIA GeForce RTX 5070 Ti
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1646 (PresentX 1646)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14577 MB

Not tested
AMD/Intel, native wave64, Linux/Wine, a genuinely verified cold driver-cache configuration, full-pack precompile, GPU output parity of this retail shader, or world rendering. This is a measurement/test report, not an approval review.

AI use
Codex desktop, GPT-6 (exact variant not exposed): source inspection, commands, actual local measurements/tests and this report.

Follow-up: a per-application NVIDIA cache-off control works here

Same head, adapter, driver, DXC, record, four windows and split wave64. An experimental call to NvAPI_D3D1x_DisableShaderDiskCache returned success but did not remove the fast repeat behaviour. A temporary application profile with PS_SHADERDISKCACHE_ID=OFF, associated with a unique sibling copy of the exe before launching it, did. No shader salt or shader code changes.

A local scripts/measure-nvidia-pso.ps1 wrapper now creates that profile, invokes this PR's measurement command, and deletes the profile and copied exe in finally. Interleaved fresh processes, --repeat 3 each:

Run Backend Driver seconds, in order Median seconds DXC ms
1 direct 2.4875601, 3.2703615, 3.2292201 3.2292201 n/a
2 hlsl 4.2427109, 5.6339293, 5.5971971 5.5971971 2670.3366
3 direct 2.3592782, 3.1550257, 3.2314652 3.1550257 n/a
4 hlsl 4.1287389, 5.5901529, 5.3975774 5.3975774 2398.8375

The copied exe without the temporary profile, same record and --repeat 3, gave 2.5808741, 0.0016611, 0.0016399 s. Thus the application-profile control eliminates the observed collapse to millisecond repeat times on this setup. This is evidence for the controlled procedure on one record, not a guarantee for all drivers or a GPU execution benchmark. Direct/HLSL DXIL sizes remain 264408/395152 B.

The wrapper and docs are a separate uncommitted local patch on this head, 186 added lines, not changes to your branch. Four profile-lifetime checks passed under both Windows PowerShell 5.1 and PowerShell 7. The real missing-record failure also removed its profile and exe; an independent NVAPI query confirmed all six wrapper-created profiles were absent afterwards. Windows PowerShell 5.1 also completed a real HLSL measurement successfully. Full workspace suite rerun on the local tree: 891 passed, 0 failed, 42 ignored, same three explicit skips listed above. No runtime Rust source changes, shared cache deletion, or changes to other application/global profiles. The wrapper is not committed or published as a PR yet.

<!-- greyfinch-sync:ivall/xcl:comment:7144832912 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7144832912). Originally posted by [Daydream3r](https://github.com/Daydream3r) on 2026-11-24T21:21:56Z. --- Independent Windows/NVIDIA validation of exact head `7d14d49b664b8053d36f3b7abeef40bb48e2e368`, part of #1269. Build and tests pass here, but the apparent cache reuse below prevents me from treating the reported median as a cold driver compilation time on this machine. **Setup and checks** - Windows 11 Pro 25H2, build 26200.6584; RTX 5070 Ti 16 GB, NVIDIA 621.01; Ryzen 7 9800X3D, 64 GB RAM; Rust 1.100.0 MSVC; DXC/DXIL 1.9.2609.5. Windows Developer Mode is enabled. - `cargo build --release -p xcl`: passed. - `cargo test --workspace -- --test-threads=4`: **891 passed, 0 failed, 42 ignored** (debug). Three explicit SKIPPED checks, included in the passed count: `gpu_geometry_wave32_prefix_count_over_a_mask` and `gpu_wave32_program_in_wave64_hardware` (no wave64), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). `XCL_SAMPLE_*` unset, so optional external-data fixtures are not coverage of the retail pack. - `git diff --check`: passed; checkout clean, no local code patches. - `xcl shaders <pack> --direct --hash 1404420b38db8597 --windows 4 --split 1 --validate --dump <local-dir> --json`: 1 CS translated, 0 unsupported, validator failures, panics or timeouts. Dumps stay local. **Measured cache behaviour** Retail 1.0.2.1 record `1404420b38db8597`, `CS_PedStandardSkinning_3`, release build. Commands: ```powershell xcl shaders <pack> --measure-pso 1404420b38db8597 --backend direct --windows 4 --split 1 --repeat 3 --json xcl shaders <pack> --measure-pso 1404420b38db8597 --backend hlsl --windows 4 --split 1 --repeat 3 --json ``` `XCL_HEAP_WINDOWS` and `XCL_DIRECT_DXIL` unset. Both commands succeed, including `ShaderCacheControl`; no HLSL fallback for the direct command. | Backend | Driver seconds, in order | Reported median | DXIL bytes | Translation / DXC ms | |---|---|---|---|---| | direct | 2.3430261, 0.0015173, 0.0013450 | 0.0015173 | 264408 | 24.7151 / n/a | | hlsl | 3.8389027, 0.0023389, 0.0020812 | 0.0023389 | 395152 | 13.2070 / 2201.5346 | Three further **fresh processes**, direct backend, identical command except `--repeat 1`, give driver times **0.0015910, 0.0016459, 0.0016424 s**. New processes alone therefore do not restore the initial multi-second cost here. This is consistent with cache reuse even though cache disable was accepted. I have not isolated which cache is responsible, and do not claim that the initial slow samples are proven cold or that the medians measure compiler speed. No NVIDIA profile settings or shared shader caches were changed/cleared. Microsoft documents `IMPLICIT_DRIVER_MANAGED` operations as hints: https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ne-d3d12-d3d12_shader_cache_kind_flags . The measurement tool needs a verified coldness procedure or an explicit limitation before these medians can support cold-compile comparisons on this setup. The repeated-PSO loop/cache-control mechanism already exists on main; the direct backend extension makes the same issue observable for direct DXIL too. **Regression run** Same retail title, 60 s, isolated title-data and DXIL-cache copies, no input beyond the account picker. The main block is reused unchanged from the earlier same-session run of this PR's base; the head block is a new run at the exact head above. This checks startup/menu stability, not the selected skinning shader's runtime output or world rendering. main: ``` xcl-smoke v1 commit: 4178e888c0b5be50a2887eda45cdb832763b68a4 gpu: NVIDIA GeForce RTX 5070 Ti title: retail-title seconds: 60 exit: 0x0 frames shown: 1650 (PresentX 1650) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14653 MB ``` PR: ``` xcl-smoke v1 commit: 7d14d49b664b8053d36f3b7abeef40bb48e2e368 gpu: NVIDIA GeForce RTX 5070 Ti title: retail-title seconds: 60 exit: 0x0 frames shown: 1646 (PresentX 1646) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14577 MB ``` **Not tested** AMD/Intel, native wave64, Linux/Wine, a genuinely verified cold driver-cache configuration, full-pack precompile, GPU output parity of this retail shader, or world rendering. This is a measurement/test report, not an approval review. **AI use** Codex desktop, GPT-6 (exact variant not exposed): source inspection, commands, actual local measurements/tests and this report. **Follow-up: a per-application NVIDIA cache-off control works here** Same head, adapter, driver, DXC, record, four windows and split wave64. An experimental call to `NvAPI_D3D1x_DisableShaderDiskCache` returned success but did not remove the fast repeat behaviour. A temporary application profile with `PS_SHADERDISKCACHE_ID=OFF`, associated with a unique sibling copy of the exe before launching it, did. No shader salt or shader code changes. A local `scripts/measure-nvidia-pso.ps1` wrapper now creates that profile, invokes this PR's measurement command, and deletes the profile and copied exe in `finally`. Interleaved fresh processes, `--repeat 3` each: | Run | Backend | Driver seconds, in order | Median seconds | DXC ms | |---|---|---|---|---| | 1 | direct | 2.4875601, 3.2703615, 3.2292201 | 3.2292201 | n/a | | 2 | hlsl | 4.2427109, 5.6339293, 5.5971971 | 5.5971971 | 2670.3366 | | 3 | direct | 2.3592782, 3.1550257, 3.2314652 | 3.1550257 | n/a | | 4 | hlsl | 4.1287389, 5.5901529, 5.3975774 | 5.3975774 | 2398.8375 | The copied exe without the temporary profile, same record and `--repeat 3`, gave **2.5808741, 0.0016611, 0.0016399 s**. Thus the application-profile control eliminates the observed collapse to millisecond repeat times on this setup. This is evidence for the controlled procedure on one record, not a guarantee for all drivers or a GPU execution benchmark. Direct/HLSL DXIL sizes remain 264408/395152 B. The wrapper and docs are a separate **uncommitted local patch on this head**, 186 added lines, not changes to your branch. Four profile-lifetime checks passed under both Windows PowerShell 5.1 and PowerShell 7. The real missing-record failure also removed its profile and exe; an independent NVAPI query confirmed all six wrapper-created profiles were absent afterwards. Windows PowerShell 5.1 also completed a real HLSL measurement successfully. Full workspace suite rerun on the local tree: **891 passed, 0 failed, 42 ignored**, same three explicit skips listed above. No runtime Rust source changes, shared cache deletion, or changes to other application/global profiles. The wrapper is not committed or published as a PR yet.
Anon64 commented 2026-11-24 22:06:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-24T21:30:21Z.


Regression run for this PR: head 7d14d49, based on main 4178e88. RTX 3060 12 GB (581.80, wave32), Windows 11 26200, release, XCL_NETWORK=0, A pressed every 4 s from 20 s, scripts/smoke.ps1 on a retail title for 60 s, back to back with the main run.

main 4178e88:

xcl-smoke v1
commit: 4178e888c0b5be50a2887eda45cdb832763b68a4
gpu: NVIDIA GeForce RTX 3060
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1474 (PresentX 1474)
presents per 2 s (last 3): 29 7 0
device removals: 0
crashes: 0
peak commit: 24902 MB

this PR:

xcl-smoke v1
commit: 7d14d49b664b8053d36f3b7abeef40bb48e2e368
gpu: NVIDIA GeForce RTX 3060
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1493 (PresentX 1494)
presents per 2 s (last 3): 35 8 0
device removals: 0
crashes: 0
peak commit: 24601 MB

No device removals or crashes; 101 % of main's frames, 99 % of its peak commit.

Not tested: the whole suite; the new xcl shaders benchmark itself (the title run does not use it).

Written with Claude Code (Claude Opus 5.5) from runs on this machine.

<!-- greyfinch-sync:ivall/xcl:comment:7145018620 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7145018620). Originally posted by [Anon64](https://github.com/Anon64) on 2026-11-24T21:30:21Z. --- Regression run for this PR: head `7d14d49`, based on `main` `4178e88`. RTX 3060 12 GB (581.80, wave32), Windows 11 26200, release, `XCL_NETWORK=0`, A pressed every 4 s from 20 s, `scripts/smoke.ps1` on a retail title for 60 s, back to back with the `main` run. main `4178e88`: ``` xcl-smoke v1 commit: 4178e888c0b5be50a2887eda45cdb832763b68a4 gpu: NVIDIA GeForce RTX 3060 title: retail-title seconds: 60 exit: 0x0 frames shown: 1474 (PresentX 1474) presents per 2 s (last 3): 29 7 0 device removals: 0 crashes: 0 peak commit: 24902 MB ``` this PR: ``` xcl-smoke v1 commit: 7d14d49b664b8053d36f3b7abeef40bb48e2e368 gpu: NVIDIA GeForce RTX 3060 title: retail-title seconds: 60 exit: 0x0 frames shown: 1493 (PresentX 1494) presents per 2 s (last 3): 35 8 0 device removals: 0 crashes: 0 peak commit: 24601 MB ``` No device removals or crashes; 101 % of main's frames, 99 % of its peak commit. **Not tested:** the whole suite; the new `xcl shaders` benchmark itself (the title run does not use it). Written with Claude Code (Claude Opus 5.5) from runs on this machine.
futurepro62 commented 2026-11-24 23:08:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T22:22:23Z.


Adding an AMD GPU (RDNA2, native wave64) to the report above, which has none, with an NVIDIA run alongside. Tested exact head 7d14d49 (on its base 4178e88).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record: 889 passed, 0 failed, 42 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • No new #[test] functions in the diff.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 891 passed, 0 failed, 42 ignored. SKIPPED: heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows), pso_measurement_compiles_an_exact_synthetic_record (cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)).
  • Two tests were skipped with --skip on NVIDIA. Both fail on main 7f7e768 too, not because of this PR: under XCL_REQUIRE_GPU=mesh, runner::skip_test turns their skips into failures. heap_window_out_of_memory_falls_back_to_the_switch_form skips when XCL_HEAP_WINDOWS is unset (#1651), and shaders::tests::pso_measurement_compiles_an_exact_synthetic_record skipped because Developer Mode was off. The AMD run does not set XCL_REQUIRE_GPU, so there both just print SKIPPED.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7146148601 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7146148601). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-24T22:22:23Z. --- Adding an AMD GPU (RDNA2, native wave64) to the report above, which has none, with an NVIDIA run alongside. Tested exact head `7d14d49` (on its base `4178e88`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record`: **889 passed, 0 failed, 42 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - No new `#[test]` functions in the diff. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **891 passed, 0 failed, 42 ignored**. SKIPPED: `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows), `pso_measurement_compiles_an_exact_synthetic_record` (cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)). - Two tests were skipped with `--skip` on NVIDIA. Both fail on main `7f7e768` too, not because of this PR: under `XCL_REQUIRE_GPU=mesh`, `runner::skip_test` turns their skips into failures. `heap_window_out_of_memory_falls_back_to_the_switch_form` skips when `XCL_HEAP_WINDOWS` is unset (#1651), and `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` skipped because Developer Mode was off. The AMD run does not set `XCL_REQUIRE_GPU`, so there both just print SKIPPED. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
DavidM1911 commented 2026-11-25 00:09:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T00:05:02Z.


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

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

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7148119366 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7148119366). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T00:05:02Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~23 ignored. Thanks!
JJAutoCompare commented 2026-11-25 05:08:23 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T04:38:45Z.


XCL PR #1802 — Windows / Arc A770 verification

Clean detached head 4edddca04e9be3735b4082293f376a88add07e01 on STOR-WINLAB. Windows 11 Enterprise Evaluation x64 (10.0.26200.9974), AMD Ryzen 7 3800X, Intel Arc A770 (driver 32.0.101.9175). DXC 1.9.2609.5, rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc), debug profiles without debug info.

Tested

  • cargo build --workspace and cargo test --workspace --no-run exited 0 outside the A770 lock. Compiled 19 test executables.
  • cargo test -p xcl --lib shaders::tests::a_flag_without_its_value_is_an_error -- --exact --nocapture with XCL_ADAPTER=NONE_CPU_ONLY: 1 passed, 0 failed, 0 ignored, 0 skips. Rejected a missing backend value and auto.
  • cargo test -p xcl --lib shaders::tests::pso_measurement_compiles_an_exact_synthetic_record -- --exact --nocapture under the A770 lock: harness reported 1 passed, 0 failed, 0 ignored, with 1 explicit skip. Cache control returned 0x887A002D (missing or mismatched SDK component) before HLSL PSO creation.
  • Under the same lock, xcl.exe shaders pr1802-compute.bin --measure-pso 2ef201b72e3e2756 --backend hlsl --repeat 3 --json and the same command with --backend direct both exited 2 at cache control and emitted zero JSON bytes.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 under the A770 lock with RUST_TEST_NOCAPTURE=1 exited 101. Summed 20 result lines (19 binaries and doc tests): 950 passed, 25 failed, 45 ignored.

Workspace failures and skips

Of 24 GPU library failures, 20 returned 0x80070057 at CreateComputePipelineState and four failed value assertions. The test-title e2e failed dynamic depth bias check #94 (blue pixel where green was expected). The log contains 25 lines starting with SKIPPED , separate from harness counts, including 17 for wave64 and one for PSO cache control. Skips provide no coverage.

Not tested

Successful benchmark JSON, PSO timing, cold compilation, a matched main run, retail-title smoke, or other adapters. No regression attribution was established.

AI use

T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr1802-suite.log and published.

<!-- greyfinch-sync:ivall/xcl:comment:7153033756 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7153033756). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T04:38:45Z. --- # XCL PR #1802 — Windows / Arc A770 verification Clean detached head `4edddca04e9be3735b4082293f376a88add07e01` on STOR-WINLAB. Windows 11 Enterprise Evaluation x64 (10.0.26200.9974), AMD Ryzen 7 3800X, Intel Arc A770 (driver 32.0.101.9175). DXC 1.9.2609.5, rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc), debug profiles without debug info. **Tested** - `cargo build --workspace` and `cargo test --workspace --no-run` exited 0 outside the A770 lock. Compiled 19 test executables. - `cargo test -p xcl --lib shaders::tests::a_flag_without_its_value_is_an_error -- --exact --nocapture` with `XCL_ADAPTER=NONE_CPU_ONLY`: 1 passed, 0 failed, 0 ignored, 0 skips. Rejected a missing backend value and `auto`. - `cargo test -p xcl --lib shaders::tests::pso_measurement_compiles_an_exact_synthetic_record -- --exact --nocapture` under the A770 lock: harness reported 1 passed, 0 failed, 0 ignored, with 1 explicit skip. Cache control returned `0x887A002D` (missing or mismatched SDK component) before HLSL PSO creation. - Under the same lock, `xcl.exe shaders pr1802-compute.bin --measure-pso 2ef201b72e3e2756 --backend hlsl --repeat 3 --json` and the same command with `--backend direct` both exited 2 at cache control and emitted zero JSON bytes. - `cargo test --workspace --no-fail-fast -- --test-threads=4` under the A770 lock with `RUST_TEST_NOCAPTURE=1` exited 101. Summed 20 result lines (19 binaries and doc tests): 950 passed, 25 failed, 45 ignored. **Workspace failures and skips** Of 24 GPU library failures, 20 returned `0x80070057` at `CreateComputePipelineState` and four failed value assertions. The test-title e2e failed dynamic depth bias check #94 (blue pixel where green was expected). The log contains 25 lines starting with `SKIPPED `, separate from harness counts, including 17 for wave64 and one for PSO cache control. Skips provide no coverage. **Not tested** Successful benchmark JSON, PSO timing, cold compilation, a matched `main` run, retail-title smoke, or other adapters. No regression attribution was established. **AI use** T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against `pr1802-suite.log` and published.
Toons29 commented 2026-11-25 14:10:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Toons29 on 2026-11-25T13:46:31Z.


Regression run of 3eaf9780 on the retail title, for this PR's Regression run section. Both blocks are from scripts/smoke.ps1 as printed, not edited: main on 1a0bbe3a, this PR on its head commit with no uncommitted changes, same title and time.

xcl-smoke v1
commit: 1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6
gpu: AMD Radeon RX 9070
title: 34df7c50
seconds: 60
exit: 0x0
frames shown: 1628 (PresentX 1628)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14561 MB
xcl-smoke v1
commit: 3eaf9780ce94776a8421a1c27afd14e8b093c581
gpu: AMD Radeon RX 9070
title: 34df7c50
seconds: 60
exit: 0x0
frames shown: 1634 (PresentX 1634)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14627 MB

Against the limits in CONTRIBUTING.md: 100 % of main's frames, 100 % of its peak commit, no crash, no device removal.

AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, cargo build --release -p xcl, 60 s, XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.

AI use: Claude Code (Claude Opus 5.5) built both trees and ran scripts/smoke.ps1; a script posted this right after the run, with both blocks exactly as printed.

<!-- greyfinch-sync:ivall/xcl:comment:7164270927 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7164270927). Originally posted by [Toons29](https://github.com/Toons29) on 2026-11-25T13:46:31Z. --- Regression run of `3eaf9780` on the retail title, for this PR's **Regression run** section. Both blocks are from `scripts/smoke.ps1` as printed, not edited: `main` on `1a0bbe3a`, this PR on its head commit with no uncommitted changes, same title and time. ``` xcl-smoke v1 commit: 1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6 gpu: AMD Radeon RX 9070 title: 34df7c50 seconds: 60 exit: 0x0 frames shown: 1628 (PresentX 1628) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14561 MB ``` ``` xcl-smoke v1 commit: 3eaf9780ce94776a8421a1c27afd14e8b093c581 gpu: AMD Radeon RX 9070 title: 34df7c50 seconds: 60 exit: 0x0 frames shown: 1634 (PresentX 1634) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14627 MB ``` Against the limits in CONTRIBUTING.md: 100 % of `main`'s frames, 100 % of its peak commit, no crash, no device removal. AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, `cargo build --release -p xcl`, 60 s, `XCL_NETWORK=0`. This is a regression check only: it does not show whether the run reaches the code this PR changes. AI use: Claude Code (Claude Opus 5.5) built both trees and ran `scripts/smoke.ps1`; a script posted this right after the run, with both blocks exactly as printed.
DavidM1911 commented 2026-11-26 07:03:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T06:19:50Z.


Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current main on the new head — needs another rebase before it can be tested.

<!-- greyfinch-sync:ivall/xcl:comment:7184324377 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7184324377). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T06:19:50Z. --- Re-verification on RTX 3060 Ti (Windows 11): still a **merge conflict with current `main`** on the new head — needs another rebase before it can be tested.
mokkamokacaffe commented 2026-11-26 11:05:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mokkamokacaffe on 2026-11-26T10:50:28Z.


Thanks — the conflict is resolved.

I rebased the PR's single commit onto current main at b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 and updated the branch with force-with-lease. The new head is a01669b516e8ffdf4726bf2027ea81c664a32017; GitHub now reports the PR as mergeable.

The conflict was in crates/xcl/src/shaders.rs. The resolution preserves current main's strict ShadersOptions parsing and dispatch-chain-aware pipeline state while retaining this PR's --backend hlsl|direct, adapter reporting, and measurement output.

git diff --check passes. The new head still needs Windows/GPU verification and a new exact-head smoke run; the previous 3eaf978 smoke is now historical.

AI-assisted: OpenAI Codex (GPT-6.2 Astra Ultra) performed the rebase, conflict analysis, and diff verification.

<!-- greyfinch-sync:ivall/xcl:comment:7189907953 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7189907953). Originally posted by [mokkamokacaffe](https://github.com/mokkamokacaffe) on 2026-11-26T10:50:28Z. --- Thanks — the conflict is resolved. I rebased the PR's single commit onto current `main` at `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7` and updated the branch with force-with-lease. The new head is `a01669b516e8ffdf4726bf2027ea81c664a32017`; GitHub now reports the PR as mergeable. The conflict was in `crates/xcl/src/shaders.rs`. The resolution preserves current `main`'s strict `ShadersOptions` parsing and dispatch-chain-aware pipeline state while retaining this PR's `--backend hlsl|direct`, adapter reporting, and measurement output. `git diff --check` passes. The new head still needs Windows/GPU verification and a new exact-head smoke run; the previous `3eaf978` smoke is now historical. AI-assisted: OpenAI Codex (GPT-6.2 Astra Ultra) performed the rebase, conflict analysis, and diff verification.
Foniass commented 2026-12-01 06:50:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:50:31Z.


Triage (#1607) – head fbdc063

#1849 contains this PR's commit but is stacked on it (its description says only its top commit, the NVIDIA profile wrapper script, belongs there), so it is not a duplicate. #2438 also changes measure_pso_result (adds pixel shaders, keeps the env-only backend choice); that is a different feature but the two will conflict. Main already picks direct DXIL through XCL_DIRECT_DXIL; this PR adds the explicit --backend, --json, the adapter name and separate translation/DXC timings. No problems found in the diff (gpu::adapter::name and opts.json exist on main).
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7303342301 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1802#issuecomment-7303342301). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:50:31Z. --- **Triage (#1607)** – head fbdc063 #1849 contains this PR's commit but is stacked on it (its description says only its top commit, the NVIDIA profile wrapper script, belongs there), so it is not a duplicate. #2438 also changes `measure_pso_result` (adds pixel shaders, keeps the env-only backend choice); that is a different feature but the two will conflict. Main already picks direct DXIL through `XCL_DIRECT_DXIL`; this PR adds the explicit `--backend`, `--json`, the adapter name and separate translation/DXC timings. No problems found in the diff (`gpu::adapter::name` and `opts.json` exist on main). Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1802:upstream-pr/1802'
git switch 'upstream-pr/1802'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1802'
git switch 'upstream-pr/1802'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1802'
git switch 'upstream-pr/1802'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1802'
git switch 'main'
git merge --squash 'upstream-pr/1802'
git switch 'main'
git merge --ff-only 'upstream-pr/1802'
git switch 'main'
git merge 'upstream-pr/1802'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!1792
No description provided.