D3D12.X: drop conservative rasterization where the GPU has none #2028

Open
philip-roy-jones wants to merge 1 commit from upstream-pr/2038 into main
philip-roy-jones commented 2026-11-25 01:31:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by philip-roy-jones on 2026-11-25T01:31:04Z.


On a GPU without conservative rasterization, the driver refuses every graphics pipeline that asks for it. The Radeon RX 580 (AMD Polaris) is one such GPU. It reports D3D12_CONSERVATIVE_RASTERIZATION_TIER_NOT_SUPPORTED, and its driver returns E_INVALIDARG for the translated pipeline, its stand-in and the dummy fallback alike. In a diagnostic run of the retail title on main 80f4819 (logging added around the stand-in calls), all 12 stand-ins with ConservativeRaster on were refused and all 54,193 without it were made.

On this RX 580 the failure also ends the process. After the translated pipeline is refused, graphics_pso passes the title's own description, console shaders included, to the driver, and amdxc64.dll fast-fails (0xc0000409 at offset 0x14e8d85, driver 31.0.21925.1001) before XCL writes its final frame count. #303 keeps console bytecode out of the driver on that path. This PR removes the refusal itself, so those pipelines are built and drawn.

XCL now reads the tier from D3D12_OPTIONS, and where the GPU has none it turns conservative rasterization off in the graphics descriptions it makes. Those draws then cover the pixels whose centres their triangles cover.

Part of #1833. Related: #303.

What is in it

  • crates/xcl/src/hle/d3d12x/real.rs: conservative_raster (the device's tier) and pc_conservative_raster. The latter is called next to pc_topology_type for the translated pipeline, the stand-in and the dummy fallback, and logs once when it drops the flag.
  • crates/xcl/src/hle/d3d12x/real.rs: conservative_raster_tests. An unknown device keeps the flag, and a pipeline that asks for conservative rasterization builds on the test GPU.
  • README.md: one sentence in the GPU notes.

Tested

  • Rebased head ba5a120 and main 1a0bbe3. Radeon RX 580 8 GB, driver 31.0.21925.1001, Ryzen 7 7700X, 32 GB, Windows 11 Pro 26200.9974, Rust 1.100.0 MSVC, Windows SDK DXC 1.8.2502.11. Debug tests and release title runs. Optional XCL_SAMPLE_* inputs were unset.
  • On both commits, cargo build --locked --workspace, cargo test --locked --workspace --no-run and cargo build --release --locked -p xcl succeeded.
  • On ba5a120, xcl-gpu run cargo test --locked -p xcl --lib conservative_raster -- --nocapture with XCL_ADAPTER=RX 580 and XCL_ADAPTER=warp gave 2 passed, 0 failed, 0 ignored and 0 skipped per adapter. The RX 580 dropped the flag and WARP kept it. Both built the pipeline. A separate D3D12 query reported tiers 0 and 3 respectively.
  • xcl-gpu run cargo test --locked --workspace --no-fail-fast -- --test-threads=4 with XCL_ADAPTER=RX 580 exited 101 on both commits.
RX 580 workspace suite Passed Failed Ignored SKIPPED messages (distinct tests)
Main 1a0bbe3 1,136 114 46 85 (70)
PR ba5a120 1,138 114 46 86 (71)

The same 114 tests failed by name and error category on both commits. 107 reported device removal (0x887A0005), 6 reported invalid arguments (0x80070057), and the sparse-VRAM test failed its GPU address assertion. Libtest counts a test that returns after printing SKIPPED as passed. The extra PR skip was the new GPU test reporting no GPU during the full run. It passed separately above.

RX 580 skip reasons
Reason Main PR
D3D12 device creation reported an internal driver error 2 2
no GPU 16 17
no GPU / DXC / mesh shaders 1 1
no GPU with 32-lane waves 41 41
no heap windows 1 1
no mesh shaders 5 5
no wave32 17 17
no wave32 / wave64 1 1
no xgameruntime.dll 1 1

With default pipeline settings and the same starting cache, main fast-failed in amdxc64.dll (0xc0000409, offset 0x14e8d85) before writing its final frame count. The PR logged the downgrade and finished 60 s with 1,107 frames, 15,185 MB peak commit, 0 device removals and 0 crashes. On the original head e147de1, removing the normalization call from the focused GPU test reproduced E_INVALIDARG on this RX 580. That revision completed the previous default 60-second menu run with 1,216 frames. Original smoke output

Regression run

Both clean release builds ran the same retail title for 60 s without input on the RX 580. Each started with an empty data root and a separate copy of the same 3,300-file shader and driver cache. The executable path was the same. The paired settings were XCL_ADAPTER=RX 580, XCL_DIRECT_DXIL=0, XCL_ASYNC_PSO=0, XCL_PSO_PRELOAD=0, XCL_DXC_THREADS=2. The default-pipeline run above exercised the downgrade. The synchronous PR run did not log it.

xcl-gpu run .\scripts\smoke.ps1 -Game <retail-folder> -Xcl <release-exe> -Title Retail -Seconds 60 -OutDir <run-output>

Main 1a0bbe3

xcl-smoke v1
commit: 1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6
gpu: Radeon RX 580 Series
title: Retail
seconds: 60
exit: 0x0
frames shown: 52 (PresentX 52)
presents per 2 s (last 3): 0 0 51
device removals: 0
crashes: 0
peak commit: 10777 MB

PR ba5a120

xcl-smoke v1
commit: ba5a1207830b11a9ae2a79c58a1d84f958ab3c11
gpu: Radeon RX 580 Series
title: Retail
seconds: 60
exit: 0x0
frames shown: 218 (PresentX 218)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 10951 MB

The earlier synchronous direct-DXIL settings (XCL_DIRECT_DXIL=1) lost the device during the same sequence of translated compute pipeline creations on both builds. At 120 s, main exited 0x887a0020 at 95.084 s and the PR exited 0x887a0020 at 42.550 s. At 60 s both exited 0x887a0020 at 31.908 s and 31.817 s respectively. Each run reported one device removal and ended before writing a final frame count.

Not tested

  • Physical NVIDIA, Intel and AMD RDNA on this rebased head. The earlier Arc A770, RTX 3060 and RTX 3060 Ti reports cover the original submission.
  • Other GPUs without the tier (other Polaris cards) and other AMD drivers.
  • How the passes that asked for conservative rasterization look without it. Only that their pipelines build was checked.
  • World load and gameplay: these runs stayed in the menus.
  • Mesh and two-pass (MS / GS) pipelines: their rasterizer subobjects are left as they are. They need mesh shaders, which this GPU does not have.
  • Full workspace suite on WARP. The two focused WARP tests ran on this head.

AI use

  • Claude Code with Claude Opus 5.5 (claude-opus-5-5; its reasoning-effort setting is not visible to it). It ran the title and diagnostic builds on the RX 580, found the cause, and wrote the change, the tests and the original description. Philip Roy Jones asked for this PR, and it is opened from their account.
  • On the original head e147de1, OpenAI Codex, GPT-6.2 Astra at maximum reasoning effort, rebuilt the PR and its base, ran the matched RX 580 comparison, checked the two adapter tiers, ran the focused RX 580 and WARP tests, and updated the test evidence.
  • OpenAI Codex, GPT-6.2 Astra at maximum reasoning effort, resolved the rebase conflict, compared the full diff with the original patch, ran both builds and their RX 580 suites and retail comparisons, checked WARP, and updated this description.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5483364902 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038). Originally posted by [philip-roy-jones](https://github.com/philip-roy-jones) on 2026-11-25T01:31:04Z. --- On a GPU without conservative rasterization, the driver refuses every graphics pipeline that asks for it. The Radeon RX 580 (AMD Polaris) is one such GPU. It reports `D3D12_CONSERVATIVE_RASTERIZATION_TIER_NOT_SUPPORTED`, and its driver returns `E_INVALIDARG` for the translated pipeline, its stand-in and the dummy fallback alike. In a diagnostic run of the retail title on main `80f4819` (logging added around the stand-in calls), all 12 stand-ins with `ConservativeRaster` on were refused and all 54,193 without it were made. On this RX 580 the failure also ends the process. After the translated pipeline is refused, `graphics_pso` passes the title's own description, console shaders included, to the driver, and `amdxc64.dll` fast-fails (`0xc0000409` at offset `0x14e8d85`, driver 31.0.21925.1001) before XCL writes its final frame count. #303 keeps console bytecode out of the driver on that path. This PR removes the refusal itself, so those pipelines are built and drawn. XCL now reads the tier from `D3D12_OPTIONS`, and where the GPU has none it turns conservative rasterization off in the graphics descriptions it makes. Those draws then cover the pixels whose centres their triangles cover. Part of #1833. Related: #303. **What is in it** - `crates/xcl/src/hle/d3d12x/real.rs`: `conservative_raster` (the device's tier) and `pc_conservative_raster`. The latter is called next to `pc_topology_type` for the translated pipeline, the stand-in and the dummy fallback, and logs once when it drops the flag. - `crates/xcl/src/hle/d3d12x/real.rs`: `conservative_raster_tests`. An unknown device keeps the flag, and a pipeline that asks for conservative rasterization builds on the test GPU. - `README.md`: one sentence in the GPU notes. **Tested** - Rebased head `ba5a120` and main `1a0bbe3`. Radeon RX 580 8 GB, driver 31.0.21925.1001, Ryzen 7 7700X, 32 GB, Windows 11 Pro 26200.9974, Rust 1.100.0 MSVC, Windows SDK DXC 1.8.2502.11. Debug tests and release title runs. Optional `XCL_SAMPLE_*` inputs were unset. - On both commits, `cargo build --locked --workspace`, `cargo test --locked --workspace --no-run` and `cargo build --release --locked -p xcl` succeeded. - On `ba5a120`, `xcl-gpu run cargo test --locked -p xcl --lib conservative_raster -- --nocapture` with `XCL_ADAPTER=RX 580` and `XCL_ADAPTER=warp` gave 2 passed, 0 failed, 0 ignored and 0 skipped per adapter. The RX 580 dropped the flag and WARP kept it. Both built the pipeline. A separate D3D12 query reported tiers 0 and 3 respectively. - `xcl-gpu run cargo test --locked --workspace --no-fail-fast -- --test-threads=4` with `XCL_ADAPTER=RX 580` exited 101 on both commits. | RX 580 workspace suite | Passed | Failed | Ignored | SKIPPED messages (distinct tests) | | --- | ---: | ---: | ---: | ---: | | Main `1a0bbe3` | 1,136 | 114 | 46 | 85 (70) | | PR `ba5a120` | 1,138 | 114 | 46 | 86 (71) | The same 114 tests failed by name and error category on both commits. 107 reported device removal (`0x887A0005`), 6 reported invalid arguments (`0x80070057`), and the sparse-VRAM test failed its GPU address assertion. Libtest counts a test that returns after printing SKIPPED as passed. The extra PR skip was the new GPU test reporting `no GPU` during the full run. It passed separately above. <details> <summary>RX 580 skip reasons</summary> | Reason | Main | PR | | --- | ---: | ---: | | D3D12 device creation reported an internal driver error | 2 | 2 | | no GPU | 16 | 17 | | no GPU / DXC / mesh shaders | 1 | 1 | | no GPU with 32-lane waves | 41 | 41 | | no heap windows | 1 | 1 | | no mesh shaders | 5 | 5 | | no wave32 | 17 | 17 | | no wave32 / wave64 | 1 | 1 | | no xgameruntime.dll | 1 | 1 | </details> With default pipeline settings and the same starting cache, main fast-failed in `amdxc64.dll` (`0xc0000409`, offset `0x14e8d85`) before writing its final frame count. The PR logged the downgrade and finished 60 s with 1,107 frames, 15,185 MB peak commit, 0 device removals and 0 crashes. On the original head `e147de1`, removing the normalization call from the focused GPU test reproduced `E_INVALIDARG` on this RX 580. That revision completed the previous default 60-second menu run with 1,216 frames. [Original smoke output](https://github.com/xcl-dev/xcl/actions/runs/45526327777/job/138910495728) **Regression run** Both clean release builds ran the same retail title for 60 s without input on the RX 580. Each started with an empty data root and a separate copy of the same 3,300-file shader and driver cache. The executable path was the same. The paired settings were `XCL_ADAPTER=RX 580`, `XCL_DIRECT_DXIL=0`, `XCL_ASYNC_PSO=0`, `XCL_PSO_PRELOAD=0`, `XCL_DXC_THREADS=2`. The default-pipeline run above exercised the downgrade. The synchronous PR run did not log it. `xcl-gpu run .\scripts\smoke.ps1 -Game <retail-folder> -Xcl <release-exe> -Title Retail -Seconds 60 -OutDir <run-output>` Main `1a0bbe3` ``` xcl-smoke v1 commit: 1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6 gpu: Radeon RX 580 Series title: Retail seconds: 60 exit: 0x0 frames shown: 52 (PresentX 52) presents per 2 s (last 3): 0 0 51 device removals: 0 crashes: 0 peak commit: 10777 MB ``` PR `ba5a120` ``` xcl-smoke v1 commit: ba5a1207830b11a9ae2a79c58a1d84f958ab3c11 gpu: Radeon RX 580 Series title: Retail seconds: 60 exit: 0x0 frames shown: 218 (PresentX 218) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 10951 MB ``` The earlier synchronous direct-DXIL settings (`XCL_DIRECT_DXIL=1`) lost the device during the same sequence of translated compute pipeline creations on both builds. At 120 s, main exited `0x887a0020` at 95.084 s and the PR exited `0x887a0020` at 42.550 s. At 60 s both exited `0x887a0020` at 31.908 s and 31.817 s respectively. Each run reported one device removal and ended before writing a final frame count. **Not tested** - Physical NVIDIA, Intel and AMD RDNA on this rebased head. The [earlier Arc A770, RTX 3060 and RTX 3060 Ti reports](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7160099886) cover the original submission. - Other GPUs without the tier (other Polaris cards) and other AMD drivers. - How the passes that asked for conservative rasterization look without it. Only that their pipelines build was checked. - World load and gameplay: these runs stayed in the menus. - Mesh and two-pass (MS / GS) pipelines: their rasterizer subobjects are left as they are. They need mesh shaders, which this GPU does not have. - Full workspace suite on WARP. The two focused WARP tests ran on this head. **AI use** - Claude Code with Claude Opus 5.5 (`claude-opus-5-5`; its reasoning-effort setting is not visible to it). It ran the title and diagnostic builds on the RX 580, found the cause, and wrote the change, the tests and the original description. Philip Roy Jones asked for this PR, and it is opened from their account. - On the original head `e147de1`, OpenAI Codex, GPT-6.2 Astra at maximum reasoning effort, rebuilt the PR and its base, ran the matched RX 580 comparison, checked the two adapter tiers, ran the focused RX 580 and WARP tests, and updated the test evidence. - OpenAI Codex, GPT-6.2 Astra at maximum reasoning effort, resolved the rebase conflict, compared the full diff with the original patch, ran both builds and their RX 580 suites and retail comparisons, checked WARP, and updated this description. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
raylitebull commented 2026-11-25 02:08:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-25T01:33:44Z.


Code review on e147de1:

  • conservative_raster (checking D3D12_FEATURE_DATA_D3D12_OPTIONS::ConservativeRasterizationTier != D3D12_CONSERVATIVE_RASTERIZATION_TIER_NOT_SUPPORTED) and pc_conservative_raster across translated_graphics_pso_once, standin_graphics, and graphics_pso cleanly drop ConservativeRaster only on GPUs without support (e.g., RX 580) while preserving it on supported hardware.
  • an_unknown_device_keeps_conservative_rasterization and a_pipeline_asking_for_conservative_rasterization_builds verify both the null-device default and live adapter PSO creation.
  • Build and test (Windows, no GPU) is currently running; PR description failed because the main xcl-smoke block crashed before a frame (0xc0000409 / frames shown: none logged).

Remaining before merge:

  1. Confirm Build and test finishes green and resolve PR description (a baseline comparison block from a non-crashing configuration or maintainer override on the crash-fix exception).
  2. An NVIDIA (and/or RDNA) verification pass confirming conservative rasterization remains enabled and the suite + new test pass on e147de1.
<!-- greyfinch-sync:ivall/xcl:comment:7149689464 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7149689464). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-25T01:33:44Z. --- Code review on `e147de1`: - `conservative_raster` (checking `D3D12_FEATURE_DATA_D3D12_OPTIONS::ConservativeRasterizationTier != D3D12_CONSERVATIVE_RASTERIZATION_TIER_NOT_SUPPORTED`) and `pc_conservative_raster` across `translated_graphics_pso_once`, `standin_graphics`, and `graphics_pso` cleanly drop `ConservativeRaster` only on GPUs without support (e.g., RX 580) while preserving it on supported hardware. - `an_unknown_device_keeps_conservative_rasterization` and `a_pipeline_asking_for_conservative_rasterization_builds` verify both the null-device default and live adapter PSO creation. - `Build and test (Windows, no GPU)` is currently running; `PR description` failed because the `main` `xcl-smoke` block crashed before a frame (`0xc0000409` / `frames shown: none logged`). **Remaining before merge:** 1. Confirm `Build and test` finishes green and resolve `PR description` (a baseline comparison block from a non-crashing configuration or maintainer override on the crash-fix exception). 2. An **NVIDIA** (and/or RDNA) verification pass confirming conservative rasterization remains enabled and the suite + new test pass on `e147de1`.
philip-roy-jones commented 2026-11-25 02:09:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by philip-roy-jones on 2026-11-25T01:54:26Z.


Both required checks now pass on e147de1. The PR description includes the matched 120 s retail runs on the RX 580. Main showed 3,189 frames and the PR showed 3,313, with zero crashes and device removals on both. The original default-settings crash is documented under Tested. PR description check · Windows CI

The focused tests also ran on both conservative-rasterization paths on this machine. With XCL_ADAPTER=RX 580 (Radeon RX 580, driver 31.0.21925.1001, tier 0) and XCL_ADAPTER=warp (Microsoft WARP, tier 3), xcl-gpu run cargo test --locked -p xcl --lib conservative_raster -- --nocapture returned 2 passed, 0 failed, 0 ignored and 0 skipped per adapter. WARP kept the flag and created the pipeline.

The physical NVIDIA or RDNA run is still open. If someone with either adapter can run the focused test and cargo test --locked --workspace --no-fail-fast -- --test-threads=4 on e147de1 and post the GPU, driver and counts, that would cover the remaining review request.

OpenAI Codex, GPT-6.2 Astra at maximum reasoning effort, ran the comparison and focused tests and wrote this follow-up.

<!-- greyfinch-sync:ivall/xcl:comment:7150097251 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7150097251). Originally posted by [philip-roy-jones](https://github.com/philip-roy-jones) on 2026-11-25T01:54:26Z. --- Both required checks now pass on `e147de1`. The PR description includes the matched 120 s retail runs on the RX 580. Main showed 3,189 frames and the PR showed 3,313, with zero crashes and device removals on both. The original default-settings crash is documented under **Tested**. [PR description check](https://github.com/xcl-dev/xcl/actions/runs/45528958431/job/138919201501) · [Windows CI](https://github.com/xcl-dev/xcl/actions/runs/45526327596/job/138910491626) The focused tests also ran on both conservative-rasterization paths on this machine. With `XCL_ADAPTER=RX 580` (Radeon RX 580, driver 31.0.21925.1001, tier 0) and `XCL_ADAPTER=warp` (Microsoft WARP, tier 3), `xcl-gpu run cargo test --locked -p xcl --lib conservative_raster -- --nocapture` returned 2 passed, 0 failed, 0 ignored and 0 skipped per adapter. WARP kept the flag and created the pipeline. The physical NVIDIA or RDNA run is still open. If someone with either adapter can run the focused test and `cargo test --locked --workspace --no-fail-fast -- --test-threads=4` on `e147de1` and post the GPU, driver and counts, that would cover the remaining review request. OpenAI Codex, GPT-6.2 Astra at maximum reasoning effort, ran the comparison and focused tests and wrote this follow-up.
JJAutoCompare commented 2026-11-25 03:05:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T02:32:25Z.


PR #2038 — D3D12.X conservative rasterization on Intel Arc A770

Tested live PR head e147de1ed077ea8f641689523a954f1e266ad372 from refs/pull/2038/head on xcl-dev/xcl. The worktree was clean at build time and after the run. origin/main was cbc296ab65a2661a61e3e2da109134bcd5319f60. git merge-tree --write-tree origin/main HEAD exited 0 and produced tree dc46a30f21aff4a048daa125be47996d0a41eda9.

What is in it

  • crates/xcl/src/hle/d3d12x/real.rs checks device support before requesting conservative rasterization for affected pipeline descriptors and adds two tests. README.md documents the fallback.

Tested

  • STOR-WINLAB, Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB with driver 32.0.101.9175. The adapter has waves of 8–32 lanes and DoublePrecisionFloatShaderOps=0. The test-title runner confirmed the A770 and DXC 1.9.2609.5. The assigned DXC/DXIL directory was %LOCALAPPDATA%\XclTooling\dxc-1.9.2609\bin\x64. Rust was rustc 1.100.0 (0ef1bc386 2026-11-09). Dev and test profiles were unoptimized with debug info and incremental compilation disabled. Build output, temporary files, XCL data and the DXIL cache were directed to the assigned L: slot.
  • cargo build --workspace and cargo test --workspace --no-run both exited 0 outside the GPU lock. Both emitted the existing Atomic::fetch_update deprecation warnings.
  • cargo test -p xcl --lib hle::d3d12x::real::conservative_raster_tests::an_unknown_device_keeps_conservative_rasterization -- --exact --show-output ran outside the lock. 1 passed, 0 failed, 0 ignored, 0 skip markers.
  • cargo test -p xcl --lib hle::d3d12x::real::conservative_raster_tests::a_pipeline_asking_for_conservative_rasterization_builds -- --exact --show-output ran under Invoke-ArcTest.ps1. 1 passed, 0 failed, 0 ignored, 0 skip markers. The descriptor passed the support assertion and the A770 accepted the graphics PSO. The fallback log message did not appear.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output ran once under Invoke-ArcTest.ps1 and exited 101. Across 20 test result summaries, libtest reported 1038 passed, 26 failed, 45 ignored. It emitted 26 skip markers across 16 distinct tests. The raw pass count includes tests that returned after a skip and optional sample tests that returned early. Skipped cases contribute no coverage. Both PR-specific tests also passed in this run.
  • The library target had 25 failures. In 21, CreateComputePipelineState returned 0x80070057; several of those tests exercise f64. The other four failed assertions for FMA contraction, implicit mip LOD, f16 lane preservation, and whole-wave pixel reductions. The e2e target had one failure: test_title_runs_and_game_folder_is_untouched read blue where the dynamic depth bias check expected green. A main baseline would be needed to establish whether these failures are regressions.
  • Logs in L:\XclTooling\neon-slot-1\tmp: pr2038-build.log, pr2038-targeted.log, pr2038-suite.log.

Skip markers

Each entry below is from the workspace run. Some tests report a reason for each skipped case.

SKIPPED gpu::recomp::lower::tests::a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu: no wave64
SKIPPED gpu::recomp::lower::tests::cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu: no wave64
SKIPPED gpu::recomp::lower::tests::coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu: no wave64
SKIPPED gpu::recomp::lower::tests::the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu: const_mask, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))
SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 arithmetic, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 arithmetic, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 compares, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))
SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 packed, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 conversions, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu: integer arithmetic, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 rounding, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu: integer carries, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 transcendentals, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 three-source, wave64: no wave64
SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64
SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64
SKIPPED shaders::tests::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)
SKIPPED placed_title_textures_share_vram_and_preserve_pixels: tiled tier < 2
SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll
SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows
SKIPPED uploads_start_from_each_subresources_state: no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D))

Not tested

  • The RX 580 and the behavior on an adapter that reports conservative rasterization as unsupported. AMD and NVIDIA hardware were outside this run.
  • Retail-title smoke on main and PR head, a main baseline suite, and optional retail or console SDK sample data. The XCL_SAMPLE_* inputs were unset.

AI use

  • T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and tests and drafted this report. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified the counts against pr2038-suite.log and published this report.
<!-- greyfinch-sync:ivall/xcl:comment:7150854561 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7150854561). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T02:32:25Z. --- # PR #2038 — D3D12.X conservative rasterization on Intel Arc A770 Tested live PR head `e147de1ed077ea8f641689523a954f1e266ad372` from `refs/pull/2038/head` on `xcl-dev/xcl`. The worktree was clean at build time and after the run. `origin/main` was `cbc296ab65a2661a61e3e2da109134bcd5319f60`. `git merge-tree --write-tree origin/main HEAD` exited 0 and produced tree `dc46a30f21aff4a048daa125be47996d0a41eda9`. **What is in it** - `crates/xcl/src/hle/d3d12x/real.rs` checks device support before requesting conservative rasterization for affected pipeline descriptors and adds two tests. `README.md` documents the fallback. **Tested** - STOR-WINLAB, Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB with driver 32.0.101.9175. The adapter has waves of 8–32 lanes and `DoublePrecisionFloatShaderOps=0`. The test-title runner confirmed the A770 and DXC 1.9.2609.5. The assigned DXC/DXIL directory was `%LOCALAPPDATA%\XclTooling\dxc-1.9.2609\bin\x64`. Rust was `rustc 1.100.0 (0ef1bc386 2026-11-09)`. Dev and test profiles were unoptimized with debug info and incremental compilation disabled. Build output, temporary files, XCL data and the DXIL cache were directed to the assigned L: slot. - `cargo build --workspace` and `cargo test --workspace --no-run` both exited 0 outside the GPU lock. Both emitted the existing `Atomic::fetch_update` deprecation warnings. - `cargo test -p xcl --lib hle::d3d12x::real::conservative_raster_tests::an_unknown_device_keeps_conservative_rasterization -- --exact --show-output` ran outside the lock. 1 passed, 0 failed, 0 ignored, 0 skip markers. - `cargo test -p xcl --lib hle::d3d12x::real::conservative_raster_tests::a_pipeline_asking_for_conservative_rasterization_builds -- --exact --show-output` ran under `Invoke-ArcTest.ps1`. 1 passed, 0 failed, 0 ignored, 0 skip markers. The descriptor passed the support assertion and the A770 accepted the graphics PSO. The fallback log message did not appear. - `cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output` ran once under `Invoke-ArcTest.ps1` and exited 101. Across 20 test result summaries, libtest reported **1038 passed, 26 failed, 45 ignored**. It emitted **26 skip markers across 16 distinct tests**. The raw pass count includes tests that returned after a skip and optional sample tests that returned early. Skipped cases contribute no coverage. Both PR-specific tests also passed in this run. - The library target had 25 failures. In 21, `CreateComputePipelineState` returned `0x80070057`; several of those tests exercise f64. The other four failed assertions for FMA contraction, implicit mip LOD, f16 lane preservation, and whole-wave pixel reductions. The `e2e` target had one failure: `test_title_runs_and_game_folder_is_untouched` read blue where the dynamic depth bias check expected green. A main baseline would be needed to establish whether these failures are regressions. - Logs in `L:\XclTooling\neon-slot-1\tmp`: `pr2038-build.log`, `pr2038-targeted.log`, `pr2038-suite.log`. **Skip markers** Each entry below is from the workspace run. Some tests report a reason for each skipped case. ```text SKIPPED gpu::recomp::lower::tests::a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu: no wave64 SKIPPED gpu::recomp::lower::tests::cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu: no wave64 SKIPPED gpu::recomp::lower::tests::coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu: no wave64 SKIPPED gpu::recomp::lower::tests::the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu: const_mask, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's)) SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 arithmetic, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 arithmetic, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 compares, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's)) SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 packed, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's)) SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 conversions, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu: integer arithmetic, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 rounding, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu: integer carries, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 transcendentals, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 three-source, wave64: no wave64 SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64 SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64 SKIPPED shaders::tests::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) SKIPPED placed_title_textures_share_vram_and_preserve_pixels: tiled tier < 2 SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows SKIPPED uploads_start_from_each_subresources_state: no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)) ``` **Not tested** - The RX 580 and the behavior on an adapter that reports conservative rasterization as unsupported. AMD and NVIDIA hardware were outside this run. - Retail-title smoke on main and PR head, a main baseline suite, and optional retail or console SDK sample data. The `XCL_SAMPLE_*` inputs were unset. **AI use** - T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and tests and drafted this report. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified the counts against `pr2038-suite.log` and published this report.
JoaoPauluu commented 2026-11-25 03:05:45 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JoaoPauluu on 2026-11-25T02:33:25Z.


A regression run under Wine on Linux on the retail title: no device removal, no crash, frames level with main (1353 here, 1357 and 1365 on the two main runs). This GPU has conservative rasterization, so the new path (and its no conservative rasterization log line) is not reached here; this is a regression run only.

Tested

  • RTX 3060 12 GB (NVIDIA 620.70.06, 32-lane waves), i5-10400F, 16 GB, CachyOS (kernel 7.3.3), Proton Experimental 11.0-20261112 with the patched vkd3d-proton 3.1 from #257, DXC 1.9.2609.5. Release, cross-built for x86_64-pc-windows-gnu. e147de1 as it is (based on 656c0e8) and main cbc296a, no uncommitted changes. Retail title 1.0.2.1, scripts/linux/smoke.sh (#257) for 60 s, no input. Runs in order: main, this PR (with other PRs in between), main.

Regression run

main (first run):

xcl-smoke v1
commit: cbc296ab65a2661a61e3e2da109134bcd5319f60
gpu: NVIDIA GeForce RTX 3060
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1357 (PresentX 1357)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 0 MB

this PR:

xcl-smoke v1
commit: e147de1ed077ea8f641689523a954f1e266ad372
gpu: NVIDIA GeForce RTX 3060
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1353 (PresentX 1353)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 0 MB

The second main run: 1365 frames, exit: 0x0, no device removal, no crash. Under Wine, peak commit reads 0 MB, so these blocks do not check memory.

Not tested

  • the test suite on this head, a GPU without conservative rasterization (the case the PR is for), native Windows.

AI use

  • Claude Code (Claude Opus 5.5) built both commits, ran the runs and wrote this report. The account owner asked for test reports to be posted and has not reviewed this one.
<!-- greyfinch-sync:ivall/xcl:comment:7150874465 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7150874465). Originally posted by [JoaoPauluu](https://github.com/JoaoPauluu) on 2026-11-25T02:33:25Z. --- A regression run under Wine on Linux on the retail title: no device removal, no crash, frames level with `main` (1353 here, 1357 and 1365 on the two `main` runs). This GPU has conservative rasterization, so the new path (and its `no conservative rasterization` log line) is not reached here; this is a regression run only. **Tested** - RTX 3060 12 GB (NVIDIA 620.70.06, 32-lane waves), i5-10400F, 16 GB, CachyOS (kernel 7.3.3), Proton Experimental 11.0-20261112 with the patched vkd3d-proton 3.1 from #257, DXC 1.9.2609.5. Release, cross-built for `x86_64-pc-windows-gnu`. `e147de1` as it is (based on `656c0e8`) and `main` `cbc296a`, no uncommitted changes. Retail title 1.0.2.1, `scripts/linux/smoke.sh` (#257) for 60 s, no input. Runs in order: main, this PR (with other PRs in between), main. **Regression run** main (first run): ``` xcl-smoke v1 commit: cbc296ab65a2661a61e3e2da109134bcd5319f60 gpu: NVIDIA GeForce RTX 3060 title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1357 (PresentX 1357) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 0 MB ``` this PR: ``` xcl-smoke v1 commit: e147de1ed077ea8f641689523a954f1e266ad372 gpu: NVIDIA GeForce RTX 3060 title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1353 (PresentX 1353) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 0 MB ``` The second `main` run: 1365 frames, `exit: 0x0`, no device removal, no crash. Under Wine, `peak commit` reads 0 MB, so these blocks do not check memory. **Not tested** - the test suite on this head, a GPU without conservative rasterization (the case the PR is for), native Windows. **AI use** - Claude Code (Claude Opus 5.5) built both commits, ran the runs and wrote this report. The account owner asked for test reports to be posted and has not reviewed this one.
DavidM1911 commented 2026-11-25 05:08:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T04:28:40Z.


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

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7152877564 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7152877564). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T04:28:40Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
raylitebull commented 2026-11-25 11:09:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-25T10:44:04Z.


Update: #2038 now has AMD RX 580 + Intel Arc A770 + NVIDIA RTX 3060 / 3060 Ti verification on e147de1, and recent merges on main introduced a merge conflict (DIRTY). @philip-roy-jones — please rebase onto latest main so CI runs cleanly.

<!-- greyfinch-sync:ivall/xcl:comment:7160099886 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7160099886). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-25T10:44:04Z. --- Update: #2038 now has **AMD RX 580** + **Intel Arc A770** + **NVIDIA RTX 3060 / 3060 Ti** verification on e147de1, and recent merges on main introduced a merge conflict (DIRTY). @philip-roy-jones — please rebase onto latest main so CI runs cleanly.
raylitebull commented 2026-11-25 19:09:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-25T18:28:44Z.


Review update on ba5a120: clean rebase (MERGEABLE/CLEAN) and both CI checks are green, with exact-head RX 580 + WARP tests and RX 580 smoke verified.

Remaining before merge: Fresh NVIDIA verification on the rebased ba5a120 head (prior NVIDIA runs were on e147de1).

<!-- greyfinch-sync:ivall/xcl:comment:7170962199 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7170962199). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-25T18:28:44Z. --- Review update on `ba5a120`: clean rebase (`MERGEABLE`/`CLEAN`) and both CI checks are green, with exact-head RX 580 + WARP tests and RX 580 smoke verified. **Remaining before merge:** Fresh **NVIDIA** verification on the rebased `ba5a120` head (prior NVIDIA runs were on `e147de1`).
tiagonleal commented 2026-11-25 19:09:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by tiagonleal on 2026-11-25T18:58:29Z.


Verification on NVIDIA RTX 5070 Ti (Windows 11), rebased head ba5a1207830b11a9ae2a79c58a1d84f958ab3c11: both conservative_raster tests pass; the workspace run has 4 DXIL fuzz failures that also fail on main

Tested

  • Head ba5a1207830b11a9ae2a79c58a1d84f958ab3c11 (git rev-parse HEAD of a clean detached worktree, no local changes, built as is). The PR was open and the head unchanged when I started and again before writing this. The earlier NVIDIA runs in the thread were on e147de1. Base for the comparison below: 1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6 (the parent of ba5a120).
  • Windows 11 Pro 10.0.26300 (Developer Mode on), NVIDIA GeForce RTX 5070 Ti 16 GB (driver 617.42, 32.0.16.1742), AMD Ryzen 7 9800X3D, 32 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), cargo 1.100.0, release profile.
  • cargo test --release --locked -p xcl --lib conservative_raster -j 8 -- --nocapture --test-threads=1: 2 passed, 0 failed, 0 ignored: a_pipeline_asking_for_conservative_rasterization_builds and an_unknown_device_keeps_conservative_rasterization. I did not query the adapter's conservative-rasterization tier myself.
  • cargo build --release --locked --workspace, then cargo test --release --locked --workspace --no-fail-fast -j 8 -- --test-threads=4: 1248 passed, 4 failed, 46 ignored over 23 test binaries; 24 SKIPPED lines (no wave64, no heap windows and similar); exit 101. The 4 failures are all in -p xcl --lib: gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0 to _3, each CreateComputePipelineState: Not enough memory resources are available to complete this operation. (0x8007000E) at fuzz_tests.rs:1167 (seeds 70, 545, 1019, 1507).
  • fuzz_validate_and_gpu_0 alone, 3 runs with --test-threads=1: failed 3 of 3, same seed 70 and same error. On base 1a0bbe3 (release) it fails the same way, and on ba5a120 in the debug profile too. So the failure is the same with and without this PR on this machine; it looks like the one in #1905 (RTX 5060), but I have not established the cause. The run of the other three fuzz tests on base was not repeated.

Not tested

  • An AMD host, the retail game and xcl-smoke on this head, XCL_SAMPLE_* inputs (unset).

Run and written with Claude Code (Claude Fable 5.2 and Claude Sonnet 5.5).

<!-- greyfinch-sync:ivall/xcl:comment:7171652802 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7171652802). Originally posted by [tiagonleal](https://github.com/tiagonleal) on 2026-11-25T18:58:29Z. --- Verification on NVIDIA RTX 5070 Ti (Windows 11), rebased head `ba5a1207830b11a9ae2a79c58a1d84f958ab3c11`: both `conservative_raster` tests pass; the workspace run has 4 DXIL fuzz failures that also fail on `main` **Tested** - Head `ba5a1207830b11a9ae2a79c58a1d84f958ab3c11` (`git rev-parse HEAD` of a clean detached worktree, no local changes, built as is). The PR was open and the head unchanged when I started and again before writing this. The earlier NVIDIA runs in the thread were on `e147de1`. Base for the comparison below: `1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6` (the parent of `ba5a120`). - Windows 11 Pro 10.0.26300 (Developer Mode on), NVIDIA GeForce RTX 5070 Ti 16 GB (driver 617.42, 32.0.16.1742), AMD Ryzen 7 9800X3D, 32 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), cargo 1.100.0, release profile. - `cargo test --release --locked -p xcl --lib conservative_raster -j 8 -- --nocapture --test-threads=1`: 2 passed, 0 failed, 0 ignored: `a_pipeline_asking_for_conservative_rasterization_builds` and `an_unknown_device_keeps_conservative_rasterization`. I did not query the adapter's conservative-rasterization tier myself. - `cargo build --release --locked --workspace`, then `cargo test --release --locked --workspace --no-fail-fast -j 8 -- --test-threads=4`: 1248 passed, 4 failed, 46 ignored over 23 test binaries; 24 `SKIPPED` lines (no wave64, no heap windows and similar); exit 101. The 4 failures are all in `-p xcl --lib`: `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0` to `_3`, each `CreateComputePipelineState: Not enough memory resources are available to complete this operation. (0x8007000E)` at `fuzz_tests.rs:1167` (seeds 70, 545, 1019, 1507). - `fuzz_validate_and_gpu_0` alone, 3 runs with `--test-threads=1`: failed 3 of 3, same seed 70 and same error. On base `1a0bbe3` (release) it fails the same way, and on `ba5a120` in the debug profile too. So the failure is the same with and without this PR on this machine; it looks like the one in #1905 (RTX 5060), but I have not established the cause. The run of the other three fuzz tests on base was not repeated. **Not tested** - An AMD host, the retail game and `xcl-smoke` on this head, `XCL_SAMPLE_*` inputs (unset). Run and written with Claude Code (Claude Fable 5.2 and Claude Sonnet 5.5).
ClosetPie107 commented 2026-11-25 20:08:48 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ClosetPie107 on 2026-11-25T19:54:37Z.


Independent AMD RDNA4 / Linux (RADV, native wave64) test report for head ba5a1207830b11a9ae2a79c58a1d84f958ab3c11 (merged cleanly onto main 2898511).

Hardware & environment

  • AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1, native wave64), Ryzen 5 9600X, 30 GiB RAM, CachyOS Linux
  • Proton Experimental (experimental-11.0-20261112), vkd3d-proton master ec207194 (3.2.0) + dxil-spirv b540c8a2 + relaxed-vtable patch (-Db_ndebug=true), DXVK v3.1.1-209, DXC 1.9.2609.5, Rust x86_64-pc-windows-gnu (debug)

Unit / GPU tests (XCL_REQUIRE_GPU=wave64, XCL_DXC_DIR, VKD3D_CONFIG=ignore_shared_fence, --test-threads=1 --nocapture)

  • hle::d3d12x::real::: 60 passed, 0 failed, 0 ignored (0 skipped; covers conservative_raster_tests on the RX 9070)

Not tested

  • Full workspace test suite, native Windows, a GPU lacking conservative rasterization (Polaris / tier 0), or a retail-title smoke pair.

AI use

  • T3 Code / Antigravity (Gemini 4 Neon) merged the PR onto main, ran the tests under Proton on this machine, and drafted this report.
<!-- greyfinch-sync:ivall/xcl:comment:7172929927 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7172929927). Originally posted by [ClosetPie107](https://github.com/ClosetPie107) on 2026-11-25T19:54:37Z. --- Independent AMD RDNA4 / Linux (RADV, native wave64) test report for head `ba5a1207830b11a9ae2a79c58a1d84f958ab3c11` (merged cleanly onto `main` `2898511`). **Hardware & environment** - AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1, native wave64), Ryzen 5 9600X, 30 GiB RAM, CachyOS Linux - Proton Experimental (`experimental-11.0-20261112`), `vkd3d-proton` `master` `ec207194` (3.2.0) + `dxil-spirv` `b540c8a2` + relaxed-vtable patch (`-Db_ndebug=true`), DXVK `v3.1.1-209`, DXC `1.9.2609.5`, Rust `x86_64-pc-windows-gnu` (debug) **Unit / GPU tests** (`XCL_REQUIRE_GPU=wave64`, `XCL_DXC_DIR`, `VKD3D_CONFIG=ignore_shared_fence`, `--test-threads=1 --nocapture`) - `hle::d3d12x::real::`: **60 passed, 0 failed, 0 ignored** (0 skipped; covers `conservative_raster_tests` on the RX 9070) **Not tested** - Full workspace test suite, native Windows, a GPU lacking conservative rasterization (Polaris / tier 0), or a retail-title smoke pair. **AI use** - T3 Code / Antigravity (Gemini 4 Neon) merged the PR onto `main`, ran the tests under Proton on this machine, and drafted this report.
bmjask commented 2026-11-25 20:16:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-25T20:16:28Z.

Review: COMMENTED


No concrete defect found. The fallback preserves conservative rasterization on unknown/query-failure devices and drops it only for NOT_SUPPORTED, across the relevant creation paths. The focused test proves creation rather than visual output; please retain the disclosed residual risk that downgraded draws have not been visually validated, especially at nontrivial coverage edges.

<!-- greyfinch-sync:ivall/xcl:review:6064333405 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#pullrequestreview-6064333405). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-25T20:16:28Z. **Review:** COMMENTED --- No concrete defect found. The fallback preserves conservative rasterization on unknown/query-failure devices and drops it only for NOT_SUPPORTED, across the relevant creation paths. The focused test proves creation rather than visual output; please retain the disclosed residual risk that downgraded draws have not been visually validated, especially at nontrivial coverage edges.
DavidM1911 commented 2026-11-26 08:04:34 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T07:05:12Z.


Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7185080835 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7185080835). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T07:05:12Z. --- Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
thehollowedone commented 2026-11-27 20:34:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-27T20:34:21Z.


merge-check
base: 6089122a1c
head: ba5a120783
merge: clean
build: cargo build --workspace -> ok
tests: XCL_ADAPTER=nvidia cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1466 passed, 1 failed, 47 ignored; 25 SKIPPED notices. Both new conservative_raster_tests passed on this RTX 3080 Ti. The sole failure was gpu::recomp::pso::shader_cache_tests::console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk (DXIL not compiled), also reproduced on untouched main at this base here.
review: The changed helper covers translated graphics descriptions, stand-ins, and the dummy descriptor fallback. It does not cover a native-shader graphics descriptor before the first driver call: graphics_pso forwards that descriptor unchanged, and on a tier-0 GPU its later retry can succeed only after replacing the caller's VS/PS with dummy shaders. A native-shader pipeline stream is StreamPipeline::Unknown; dev_create_pipeline_state forwards it unchanged, then fallback_stream changes shaders but leaves rasterizer subobjects 10 (RASTERIZER), 27 (RASTERIZER1) and 28 (RASTERIZER2) unchanged. A tier-0 driver can reject both calls. The added GPU test calls pc_conservative_raster directly and therefore cannot catch these runtime-entry paths. This is a source-level coverage finding; I have no tier-0 adapter to measure the failure here. The new README sentence says GPUs without the feature draw pipelines that request it, which is broader than the paths changed by this PR.
Coverage consequence: Microsoft's D3D12 specification requires a pixel shader invocation for each partially covered pixel in conservative mode; ordinary rasterization samples coverage instead. Turning the mode off can therefore omit thin or edge pixels. The RX 580 smoke establishes pipeline creation and presented frames, not equivalent pixel coverage. A complete tier-0 fallback needs equivalent coverage and a rendered-output regression; the code in this PR does not provide that yet.
performance: The feature query runs only for descriptions with conservative rasterization on, before translated/stand-in/fallback PSO creation. The number of such calls and any title startup cost were not measured on this machine.
verdict: not yet: normalize a private copy of native graphics descriptors and recognized stream rasterizer subobjects before their first driver call, retaining the original shaders; have the stream fallback consume the normalized copy. Add a runtime-entry regression with native VS/PS and conservative rasterization on, checking the drawn pixel on a tier-0 adapter. If native-shader paths are intentionally outside this change, narrow the README claim and track their fallback separately.
hardware / tool and model: NVIDIA RTX 3080 Ti 12 GiB, driver 621.35; Ryzen 7 9800X3D; Windows 11 build 26300; rustc 1.99.1 MSVC; DXC 1.8.2502.11. Codex (GPT-6.2 Sol) ran the build and tests, traced both runtime paths and drafted this check; Codex (GPT-6.2 Astra) independently reviewed pipeline coverage.

<!-- greyfinch-sync:ivall/xcl:comment:7227633692 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7227633692). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-27T20:34:21Z. --- merge-check base: 6089122a1c96dff16e93b6fdf04c8ed20cfb6102 head: ba5a1207830b11a9ae2a79c58a1d84f958ab3c11 merge: clean build: `cargo build --workspace` -> ok tests: `XCL_ADAPTER=nvidia cargo test --workspace --no-fail-fast -- --test-threads=4` -> 1466 passed, 1 failed, 47 ignored; 25 `SKIPPED` notices. Both new `conservative_raster_tests` passed on this RTX 3080 Ti. The sole failure was `gpu::recomp::pso::shader_cache_tests::console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk` (`DXIL not compiled`), also reproduced on untouched `main` at this base [here](https://github.com/xcl-dev/xcl/pull/671#issuecomment-7223888221). review: The changed helper covers translated graphics descriptions, stand-ins, and the dummy descriptor fallback. It does not cover a native-shader graphics descriptor before the first driver call: `graphics_pso` forwards that descriptor unchanged, and on a tier-0 GPU its later retry can succeed only after replacing the caller's VS/PS with dummy shaders. A native-shader pipeline stream is `StreamPipeline::Unknown`; `dev_create_pipeline_state` forwards it unchanged, then `fallback_stream` changes shaders but leaves rasterizer subobjects 10 (`RASTERIZER`), 27 (`RASTERIZER1`) and 28 (`RASTERIZER2`) unchanged. A tier-0 driver can reject both calls. The added GPU test calls `pc_conservative_raster` directly and therefore cannot catch these runtime-entry paths. This is a source-level coverage finding; I have no tier-0 adapter to measure the failure here. The new README sentence says GPUs without the feature draw pipelines that request it, which is broader than the paths changed by this PR. Coverage consequence: [Microsoft's D3D12 specification](https://learn.microsoft.com/en-us/windows/win32/direct3d12/conservative-rasterization) requires a pixel shader invocation for each partially covered pixel in conservative mode; ordinary rasterization samples coverage instead. Turning the mode off can therefore omit thin or edge pixels. The RX 580 smoke establishes pipeline creation and presented frames, not equivalent pixel coverage. A complete tier-0 fallback needs equivalent coverage and a rendered-output regression; the code in this PR does not provide that yet. performance: The feature query runs only for descriptions with conservative rasterization on, before translated/stand-in/fallback PSO creation. The number of such calls and any title startup cost were not measured on this machine. verdict: not yet: normalize a private copy of native graphics descriptors and recognized stream rasterizer subobjects before their first driver call, retaining the original shaders; have the stream fallback consume the normalized copy. Add a runtime-entry regression with native VS/PS and conservative rasterization on, checking the drawn pixel on a tier-0 adapter. If native-shader paths are intentionally outside this change, narrow the README claim and track their fallback separately. hardware / tool and model: NVIDIA RTX 3080 Ti 12 GiB, driver 621.35; Ryzen 7 9800X3D; Windows 11 build 26300; rustc 1.99.1 MSVC; DXC 1.8.2502.11. Codex (GPT-6.2 Sol) ran the build and tests, traced both runtime paths and drafted this check; Codex (GPT-6.2 Astra) independently reviewed pipeline coverage.
throny commented 2026-11-27 20:52:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T20:52:39Z.


merge-check claim
head: ba5a120783

<!-- greyfinch-sync:ivall/xcl:comment:7227923865 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7227923865). Originally posted by [throny](https://github.com/throny) on 2026-11-27T20:52:39Z. --- merge-check claim head: ba5a1207830b11a9ae2a79c58a1d84f958ab3c11
throny commented 2026-11-27 21:10:38 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T21:10:38Z.


merge-check
base: 6089122a
head: ba5a120783
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1467 passed, 0 failed, 47 ignored (this GPU has conservative rasterization, so the GPU test proves nothing here) (26 SKIPPED lines); base alone: 1465 passed, 0 failed, 47 ignored
review: none blocking. Not covered: the first finish_pso with the title's own description is not cleaned, so on a GPU without the feature those pipelines fail first and then get the fallback; translated_gs_pso is not covered either, which is harmless (mesh-shader GPUs have the feature). The test only shows the fix on a GPU without conservative rasterization. From the thread: output with the mode dropped was not checked visually.
performance: one CheckFeatureSupport per pipeline creation that asks for the mode (reasoned).
verdict: safe to merge
hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).

<!-- greyfinch-sync:ivall/xcl:comment:7228205612 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7228205612). Originally posted by [throny](https://github.com/throny) on 2026-11-27T21:10:38Z. --- merge-check base: 6089122a head: ba5a1207830b11a9ae2a79c58a1d84f958ab3c11 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1467 passed, 0 failed, 47 ignored (this GPU has conservative rasterization, so the GPU test proves nothing here) (26 SKIPPED lines); base alone: 1465 passed, 0 failed, 47 ignored review: none blocking. Not covered: the first finish_pso with the title's own description is not cleaned, so on a GPU without the feature those pipelines fail first and then get the fallback; translated_gs_pso is not covered either, which is harmless (mesh-shader GPUs have the feature). The test only shows the fix on a GPU without conservative rasterization. From the thread: output with the mode dropped was not checked visually. performance: one CheckFeatureSupport per pipeline creation that asks for the mode (reasoned). verdict: safe to merge hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).
throny commented 2026-11-27 21:28:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T21:28:44Z.


On the two merge checks here disagreeing (mine says safe to merge, the other not yet): we see the same gap and weigh it differently, so here is the difference for whoever decides.

  • Agreed: a native-shader description (and the unrecognised pipeline stream) still reaches the driver unchanged on its first call, so on a GPU without conservative rasterization that call fails and the retry replaces the shaders. The PR does not fix that path, and the GPU test proves nothing on a card that has the feature (mine has it).
  • Why I still said safe: the PR changes only paths that failed before on such a GPU and makes some of them succeed; I found no path it makes worse, and the suite is unchanged apart from its new tests.
  • What would settle it either way: narrow the README sentence to the paths that are covered, or extend the clean-up to the native-shader paths as the other check describes. A run on a GPU without the feature (none here) is the evidence that is missing.

AI use: Claude Code (Claude Fable 5.2), based on the review in my check above.

<!-- greyfinch-sync:ivall/xcl:comment:7228479766 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7228479766). Originally posted by [throny](https://github.com/throny) on 2026-11-27T21:28:44Z. --- On the two merge checks here disagreeing (mine says `safe to merge`, the other `not yet`): we see the same gap and weigh it differently, so here is the difference for whoever decides. - Agreed: a native-shader description (and the unrecognised pipeline stream) still reaches the driver unchanged on its first call, so on a GPU without conservative rasterization that call fails and the retry replaces the shaders. The PR does not fix that path, and the GPU test proves nothing on a card that has the feature (mine has it). - Why I still said safe: the PR changes only paths that failed before on such a GPU and makes some of them succeed; I found no path it makes worse, and the suite is unchanged apart from its new tests. - What would settle it either way: narrow the README sentence to the paths that are covered, or extend the clean-up to the native-shader paths as the other check describes. A run on a GPU without the feature (none here) is the evidence that is missing. AI use: Claude Code (Claude Fable 5.2), based on the review in my check above.
Pipodi commented 2026-11-30 14:38:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Pipodi on 2026-11-30T14:38:04Z.


merge-check claim
head: ba5a120783

<!-- greyfinch-sync:ivall/xcl:comment:7281684614 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7281684614). Originally posted by [Pipodi](https://github.com/Pipodi) on 2026-11-30T14:38:04Z. --- merge-check claim head: ba5a1207830b11a9ae2a79c58a1d84f958ab3c11
Pipodi commented 2026-11-30 15:31:01 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Pipodi on 2026-11-30T15:31:01Z.


merge-check
base: 9dfbe3ea66
head: ba5a120783
merge: clean (git merge --no-ff)
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2887 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16 (also fails on main, fixed by #3513). 25 SKIPPED. Both new conservative_raster_tests pass. This GPU has conservative rasterization, so they only prove the "kept" side: with pc_conservative_raster made a no-op (uncommitted) both still pass (2 passed), so they cannot fail here; they fail only on a GPU without the feature.
review: the two earlier checks (thehollowedone: not yet, throny: safe to merge) agree on the facts and differ on one weight. The PR cleans the description only on the translated, stand-in and dummy-fallback paths (real.rs graphics_pso), not on the first driver call with the title's own description, nor on the fallback_stream rasterizer subobjects 10/27/28. The source confirms both: real.rs:8836-8838 forwards desc unchanged on the first call (only a rect-list stream is copied, untranslated_stream_desc, :10123); the retry at :8839-8853 is cleaned. Settling it: the first call carries the title's own shaders. For a console title these are console-format code, which the driver rejects anyway (that is why the retry exists), so the cleaned retry is the call that decides on every path a console title reaches. A description with valid PC DXIL (only our own test title) or a mesh stream (needs a mesh-shader GPU; those have conservative rasterization, reasoned, not measured) is where the gap would show, and neither is reachable from a retail console title on a GPU without the feature. So the gap is real in the source, has no retail consequence, and the PR turns failing paths into working ones without making any worse: not a blocker. Nit: the README sentence ("draws the pipelines that ask for it without it") is broader than the paths covered; "console pipelines" would be exact.
console contract (local GDK 261000): the OFF/ON mode enum and the tier query exist in xbox/include/gen9/d3d12_xs.h:12808-12812, 14304-14310 and 14423. The GDK docs say the Series X|S GPUs support the feature, that a partially covered pixel gets a pixel shader invocation, and that the small-primitive filter is switched off with it (features/graphics/overviews/gpu-overview.md:270-272); newfeatures/vrs/vrs-feature.md:654 says the opposite (not yet supported on the console), so the docs disagree. XCL keeps the console behaviour wherever the GPU has the feature (an unknown device keeps it too, real.rs:10292-10296).
image effect of dropping it: coverage falls back to pixel centres, so partially covered pixels get no pixel shader invocation and the small-primitive filter is active: thin or sub-pixel geometry that relied on it (occlusion or collision-style passes) can lose pixels or vanish. Output with the mode dropped was not compared visually by us or by the earlier checks; the RX 580 evidence shows pipeline creation and frames only. On such a GPU the alternative was a pipeline that failed with E_INVALIDARG, i.e. no draw at all.
performance: one CheckFeatureSupport per pipeline creation that asks for the mode (reasoned, not measured).
verdict: safe to merge
hardware / tool and model: NVIDIA GeForce RTX 4090, driver 621.40; i9-13900K; Windows 11 Pro 10.0.26300; rustc 1.100.0; debug. AI use: Claude Code, Claude Opus 5.5

<!-- greyfinch-sync:ivall/xcl:comment:7283125455 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7283125455). Originally posted by [Pipodi](https://github.com/Pipodi) on 2026-11-30T15:31:01Z. --- merge-check base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b head: ba5a1207830b11a9ae2a79c58a1d84f958ab3c11 merge: clean (git merge --no-ff) build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2887 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16 (also fails on main, fixed by #3513). 25 SKIPPED. Both new conservative_raster_tests pass. This GPU has conservative rasterization, so they only prove the "kept" side: with pc_conservative_raster made a no-op (uncommitted) both still pass (2 passed), so they cannot fail here; they fail only on a GPU without the feature. review: the two earlier checks (thehollowedone: not yet, throny: safe to merge) agree on the facts and differ on one weight. The PR cleans the description only on the translated, stand-in and dummy-fallback paths (real.rs graphics_pso), not on the first driver call with the title's own description, nor on the fallback_stream rasterizer subobjects 10/27/28. The source confirms both: real.rs:8836-8838 forwards desc unchanged on the first call (only a rect-list stream is copied, untranslated_stream_desc, :10123); the retry at :8839-8853 is cleaned. Settling it: the first call carries the title's own shaders. For a console title these are console-format code, which the driver rejects anyway (that is why the retry exists), so the cleaned retry is the call that decides on every path a console title reaches. A description with valid PC DXIL (only our own test title) or a mesh stream (needs a mesh-shader GPU; those have conservative rasterization, reasoned, not measured) is where the gap would show, and neither is reachable from a retail console title on a GPU without the feature. So the gap is real in the source, has no retail consequence, and the PR turns failing paths into working ones without making any worse: not a blocker. Nit: the README sentence ("draws the pipelines that ask for it without it") is broader than the paths covered; "console pipelines" would be exact. console contract (local GDK 261000): the OFF/ON mode enum and the tier query exist in xbox/include/gen9/d3d12_xs.h:12808-12812, 14304-14310 and 14423. The GDK docs say the Series X|S GPUs support the feature, that a partially covered pixel gets a pixel shader invocation, and that the small-primitive filter is switched off with it (features/graphics/overviews/gpu-overview.md:270-272); newfeatures/vrs/vrs-feature.md:654 says the opposite (not yet supported on the console), so the docs disagree. XCL keeps the console behaviour wherever the GPU has the feature (an unknown device keeps it too, real.rs:10292-10296). image effect of dropping it: coverage falls back to pixel centres, so partially covered pixels get no pixel shader invocation and the small-primitive filter is active: thin or sub-pixel geometry that relied on it (occlusion or collision-style passes) can lose pixels or vanish. Output with the mode dropped was not compared visually by us or by the earlier checks; the RX 580 evidence shows pipeline creation and frames only. On such a GPU the alternative was a pipeline that failed with E_INVALIDARG, i.e. no draw at all. performance: one CheckFeatureSupport per pipeline creation that asks for the mode (reasoned, not measured). verdict: safe to merge hardware / tool and model: NVIDIA GeForce RTX 4090, driver 621.40; i9-13900K; Windows 11 Pro 10.0.26300; rustc 1.100.0; debug. AI use: Claude Code, Claude Opus 5.5
Foniass commented 2026-12-01 07:14:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:14:03Z.


Triage (#1607) – head ba5a120

No open or merged PR drops conservative rasterization on GPUs without it; #2589 was a closed port of this PR to amd-dev.
No problems found in the diff. The two-pass mesh stream (out.put(D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER, &d.RasterizerState)) is not patched, which does not matter while every GPU with mesh shaders also has conservative rasterization.
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:7303804844 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7303804844). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T07:14:03Z. --- **Triage (#1607)** – head ba5a120 No open or merged PR drops conservative rasterization on GPUs without it; #2589 was a closed port of this PR to amd-dev. No problems found in the diff. The two-pass mesh stream (`out.put(D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER, &d.RasterizerState)`) is not patched, which does not matter while every GPU with mesh shaders also has conservative rasterization. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
stijn-boer commented 2026-12-02 18:40:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by stijn-boer on 2026-12-02T18:40:06Z.


merge-check
base: c53e969602
head: ba5a120783
verdict: not yet: the focused pipeline builds passed on the available hardware and WARP. The tier-0 AMD fallback and the native graphics stream path remain unverified.

Windows / AMD RDNA4 (native D3D12) — conservative rasterization pipeline checks on ba5a120

Clean merge onto main at c53e969 (merge commit 508e306b426981a41339865f2bd33d9c7f453575). git diff --check was clean.

Setup

  • AMD Radeon RX 9060 XT (driver 32.0.32029.2010), Ryzen 7 5700X, Windows 10 21H2 build 19044.6332
  • Rust 1.100.0, debug builds, Agility SDK 1.620.2 with matching d3d12SDKLayers.dll, DXC 1.9.2609.5

Tested

cargo build --workspace passed. cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output exited 101 on both builds. The baseline table row is from a prior run of the same commit, machine, SDK, and command.

Build Passed Failed Ignored SKIPPED notices
main 338 3 23 0
Merged PR 340 3 23 0

Counts are partial because two test processes aborted on each build.

  • Tests that failed on the PR and passed on main — none observed in comparable results.
  • New focused tests — conservative_raster_tests:: yielded 2 passed, 0 failed, 0 ignored, 0 skip notices with XCL_ADAPTER=radeon, and the same result with XCL_ADAPTER=warp. Each used --test-threads=1 --show-output --nocapture. Neither emitted the fallback log saying conservative rasterization was disabled.
  • Debug-layer coverage — both debug-layer E2E tests, including DRED, and uploads_start_from_each_subresources_state passed.
Shared failures and process aborts
  • fuzz_validate_and_gpu_1, fuzz_validate_and_gpu_3, and two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs reported failures on both builds.
  • The library and gpu_compute_e2e test processes exited with 0xc0000409 on both builds.

Retail smoke

Ran scripts/smoke.ps1 -Game <local folder> -Seconds 60 -Xcl <debug binary> with XCL_UMA_DRIVER=mixed for title hash 2c508222.

Build Exit Frames logged Device removals logged Peak commit
main 0xc0000409 None 0 1320 MB
Merged PR, first attempt 0xc0000409 None 0 6062 MB
Merged PR, repeat from fresh data root 0xc0000409 None 0 1320 MB

The higher initial startup commit did not reproduce. These exits leave frame and steady-state memory behavior unverified.

Diff review

The changed call sites cover translated, stand-in, and fallback graphics descriptors. The added test checks direct driver pipeline creation with the resulting descriptor. It does not exercise native shader stream entry or validate pixel coverage.

Not tested

Remaining workspace tests after the aborts, retail performance, a physical AMD adapter reporting conservative rasterization tier 0, and a native graphics stream and pixel readback on the unsupported path.

AI use

Codex (GPT-6) merged and built the PR, ran the tests, compared the results with main, reviewed the diff, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7354965608 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2038#issuecomment-7354965608). Originally posted by [stijn-boer](https://github.com/stijn-boer) on 2026-12-02T18:40:06Z. --- merge-check base: c53e96960265a82477a9c98677afb0402e98d486 head: ba5a1207830b11a9ae2a79c58a1d84f958ab3c11 verdict: not yet: the focused pipeline builds passed on the available hardware and WARP. The tier-0 AMD fallback and the native graphics stream path remain unverified. **Windows / AMD RDNA4 (native D3D12) — conservative rasterization pipeline checks on `ba5a120`** Clean merge onto `main` at `c53e969` (merge commit `508e306b426981a41339865f2bd33d9c7f453575`). `git diff --check` was clean. **Setup** - AMD Radeon RX 9060 XT (driver 32.0.32029.2010), Ryzen 7 5700X, Windows 10 21H2 build 19044.6332 - Rust 1.100.0, debug builds, Agility SDK 1.620.2 with matching `d3d12SDKLayers.dll`, DXC 1.9.2609.5 **Tested** `cargo build --workspace` passed. `cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output` exited 101 on both builds. The baseline table row is from a prior run of the same commit, machine, SDK, and command. | Build | Passed | Failed | Ignored | `SKIPPED` notices | |---|---:|---:|---:|---:| | `main` | 338 | 3 | 23 | 0 | | Merged PR | 340 | 3 | 23 | 0 | Counts are partial because two test processes aborted on each build. - **Tests that failed on the PR and passed on `main`** — none observed in comparable results. - **New focused tests** — `conservative_raster_tests::` yielded 2 passed, 0 failed, 0 ignored, 0 skip notices with `XCL_ADAPTER=radeon`, and the same result with `XCL_ADAPTER=warp`. Each used `--test-threads=1 --show-output --nocapture`. Neither emitted the fallback log saying conservative rasterization was disabled. - **Debug-layer coverage** — both debug-layer E2E tests, including DRED, and `uploads_start_from_each_subresources_state` passed. <details><summary>Shared failures and process aborts</summary> - `fuzz_validate_and_gpu_1`, `fuzz_validate_and_gpu_3`, and `two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs` reported failures on both builds. - The library and `gpu_compute_e2e` test processes exited with `0xc0000409` on both builds. </details> **Retail smoke** Ran `scripts/smoke.ps1 -Game <local folder> -Seconds 60 -Xcl <debug binary>` with `XCL_UMA_DRIVER=mixed` for title hash `2c508222`. | Build | Exit | Frames logged | Device removals logged | Peak commit | |---|---|---|---:|---:| | `main` | `0xc0000409` | None | 0 | 1320 MB | | Merged PR, first attempt | `0xc0000409` | None | 0 | 6062 MB | | Merged PR, repeat from fresh data root | `0xc0000409` | None | 0 | 1320 MB | The higher initial startup commit did not reproduce. These exits leave frame and steady-state memory behavior unverified. **Diff review** The changed call sites cover translated, stand-in, and fallback graphics descriptors. The added test checks direct driver pipeline creation with the resulting descriptor. It does not exercise native shader stream entry or validate pixel coverage. **Not tested** Remaining workspace tests after the aborts, retail performance, a physical AMD adapter reporting conservative rasterization tier 0, and a native graphics stream and pixel readback on the unsupported path. **AI use** Codex (GPT-6) merged and built the PR, ran the tests, compared the results with `main`, reviewed the diff, and drafted this report.
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/2038:upstream-pr/2038'
git switch 'upstream-pr/2038'

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/2038'
git switch 'upstream-pr/2038'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2038'
git switch 'upstream-pr/2038'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2038'
git switch 'main'
git merge --squash 'upstream-pr/2038'
git switch 'main'
git merge --ff-only 'upstream-pr/2038'
git switch 'main'
git merge 'upstream-pr/2038'
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!2028
No description provided.