D3D12.X: drop conservative rasterization where the GPU has none #2028
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2038"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 returnsE_INVALIDARGfor the translated pipeline, its stand-in and the dummy fallback alike. In a diagnostic run of the retail title on main80f4819(logging added around the stand-in calls), all 12 stand-ins withConservativeRasteron 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_psopasses the title's own description, console shaders included, to the driver, andamdxc64.dllfast-fails (0xc0000409at offset0x14e8d85, 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) andpc_conservative_raster. The latter is called next topc_topology_typefor 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
ba5a120and main1a0bbe3. 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. OptionalXCL_SAMPLE_*inputs were unset.cargo build --locked --workspace,cargo test --locked --workspace --no-runandcargo build --release --locked -p xclsucceeded.ba5a120,xcl-gpu run cargo test --locked -p xcl --lib conservative_raster -- --nocapturewithXCL_ADAPTER=RX 580andXCL_ADAPTER=warpgave 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=4withXCL_ADAPTER=RX 580exited 101 on both commits.1a0bbe3ba5a120The 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 reportingno GPUduring the full run. It passed separately above.RX 580 skip reasons
With default pipeline settings and the same starting cache, main fast-failed in
amdxc64.dll(0xc0000409, offset0x14e8d85) 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 heade147de1, removing the normalization call from the focused GPU test reproducedE_INVALIDARGon this RX 580. That revision completed the previous default 60-second menu run with 1,216 frames. Original smoke outputRegression 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
1a0bbe3PR
ba5a120The 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 exited0x887a0020at 95.084 s and the PR exited0x887a0020at 42.550 s. At 60 s both exited0x887a0020at 31.908 s and 31.817 s respectively. Each run reported one device removal and ended before writing a final frame count.Not tested
AI use
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.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.🤖 Generated with Claude Code
Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-25T01:33:44Z.
Code review on
e147de1:conservative_raster(checkingD3D12_FEATURE_DATA_D3D12_OPTIONS::ConservativeRasterizationTier != D3D12_CONSERVATIVE_RASTERIZATION_TIER_NOT_SUPPORTED) andpc_conservative_rasteracrosstranslated_graphics_pso_once,standin_graphics, andgraphics_psocleanly dropConservativeRasteronly on GPUs without support (e.g., RX 580) while preserving it on supported hardware.an_unknown_device_keeps_conservative_rasterizationanda_pipeline_asking_for_conservative_rasterization_buildsverify both the null-device default and live adapter PSO creation.Build and test (Windows, no GPU)is currently running;PR descriptionfailed because themainxcl-smokeblock crashed before a frame (0xc0000409/frames shown: none logged).Remaining before merge:
Build and testfinishes green and resolvePR description(a baseline comparison block from a non-crashing configuration or maintainer override on the crash-fix exception).e147de1.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 CIThe 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) andXCL_ADAPTER=warp(Microsoft WARP, tier 3),xcl-gpu run cargo test --locked -p xcl --lib conservative_raster -- --nocapturereturned 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=4one147de1and 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.
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
e147de1ed077ea8f641689523a954f1e266ad372fromrefs/pull/2038/headonxcl-dev/xcl. The worktree was clean at build time and after the run.origin/mainwascbc296ab65a2661a61e3e2da109134bcd5319f60.git merge-tree --write-tree origin/main HEADexited 0 and produced treedc46a30f21aff4a048daa125be47996d0a41eda9.What is in it
crates/xcl/src/hle/d3d12x/real.rschecks device support before requesting conservative rasterization for affected pipeline descriptors and adds two tests.README.mddocuments the fallback.Tested
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 wasrustc 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 --workspaceandcargo test --workspace --no-runboth exited 0 outside the GPU lock. Both emitted the existingAtomic::fetch_updatedeprecation warnings.cargo test -p xcl --lib hle::d3d12x::real::conservative_raster_tests::an_unknown_device_keeps_conservative_rasterization -- --exact --show-outputran 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-outputran underInvoke-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-outputran once underInvoke-ArcTest.ps1and 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.CreateComputePipelineStatereturned0x80070057; 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. Thee2etarget had one failure:test_title_runs_and_game_folder_is_untouchedread blue where the dynamic depth bias check expected green. A main baseline would be needed to establish whether these failures are regressions.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.
Not tested
XCL_SAMPLE_*inputs were unset.AI use
pr2038-suite.logand published this report.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 twomainruns). This GPU has conservative rasterization, so the new path (and itsno conservative rasterizationlog line) is not reached here; this is a regression run only.Tested
x86_64-pc-windows-gnu.e147de1as it is (based on656c0e8) andmaincbc296a, 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):
this PR:
The second
mainrun: 1365 frames,exit: 0x0, no device removal, no crash. Under Wine,peak commitreads 0 MB, so these blocks do not check memory.Not tested
AI use
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!
upstream-sync referenced this pull request2026-11-25 10:09:30 +00:00
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.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
ba5a120head (prior NVIDIA runs were one147de1).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: bothconservative_rastertests pass; the workspace run has 4 DXIL fuzz failures that also fail onmainTested
ba5a1207830b11a9ae2a79c58a1d84f958ab3c11(git rev-parse HEADof 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 one147de1. Base for the comparison below:1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6(the parent ofba5a120).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_buildsandan_unknown_device_keeps_conservative_rasterization. I did not query the adapter's conservative-rasterization tier myself.cargo build --release --locked --workspace, thencargo test --release --locked --workspace --no-fail-fast -j 8 -- --test-threads=4: 1248 passed, 4 failed, 46 ignored over 23 test binaries; 24SKIPPEDlines (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_0to_3, eachCreateComputePipelineState: Not enough memory resources are available to complete this operation. (0x8007000E)atfuzz_tests.rs:1167(seeds 70, 545, 1019, 1507).fuzz_validate_and_gpu_0alone, 3 runs with--test-threads=1: failed 3 of 3, same seed 70 and same error. On base1a0bbe3(release) it fails the same way, and onba5a120in 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
xcl-smokeon this head,XCL_SAMPLE_*inputs (unset).Run and written with Claude Code (Claude Fable 5.2 and Claude Sonnet 5.5).
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 ontomain2898511).Hardware & environment
experimental-11.0-20261112),vkd3d-protonmasterec207194(3.2.0) +dxil-spirvb540c8a2+ relaxed-vtable patch (-Db_ndebug=true), DXVKv3.1.1-209, DXC1.9.2609.5, Rustx86_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; coversconservative_raster_testson the RX 9070)Not tested
AI use
main, ran the tests under Proton on this machine, and drafted this report.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.
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
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-27T20:34:21Z.
merge-check
base:
6089122a1chead:
ba5a120783merge: clean
build:
cargo build --workspace-> oktests:
XCL_ADAPTER=nvidia cargo test --workspace --no-fail-fast -- --test-threads=4-> 1466 passed, 1 failed, 47 ignored; 25SKIPPEDnotices. Both newconservative_raster_testspassed on this RTX 3080 Ti. The sole failure wasgpu::recomp::pso::shader_cache_tests::console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk(DXIL not compiled), also reproduced on untouchedmainat 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_psoforwards 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 isStreamPipeline::Unknown;dev_create_pipeline_stateforwards it unchanged, thenfallback_streamchanges 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 callspc_conservative_rasterdirectly 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.
Imported from ivall/xcl. Originally posted by throny on 2026-11-27T20:52:39Z.
merge-check claim
head:
ba5a120783Imported from ivall/xcl. Originally posted by throny on 2026-11-27T21:10:38Z.
merge-check
base:
6089122ahead:
ba5a120783merge: 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).
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 othernot yet): we see the same gap and weigh it differently, so here is the difference for whoever decides.AI use: Claude Code (Claude Fable 5.2), based on the review in my check above.
Imported from ivall/xcl. Originally posted by Pipodi on 2026-11-30T14:38:04Z.
merge-check claim
head:
ba5a120783Imported from ivall/xcl. Originally posted by Pipodi on 2026-11-30T15:31:01Z.
merge-check
base:
9dfbe3ea66head:
ba5a120783merge: 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
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:14:03Z.
Triage (#1607) – head
ba5a120No 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.
Imported from ivall/xcl. Originally posted by stijn-boer on 2026-12-02T18:40:06Z.
merge-check
base:
c53e969602head:
ba5a120783verdict: 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
ba5a120Clean merge onto
mainatc53e969(merge commit508e306b426981a41339865f2bd33d9c7f453575).git diff --checkwas clean.Setup
d3d12SDKLayers.dll, DXC 1.9.2609.5Tested
cargo build --workspacepassed.cargo test --workspace --no-fail-fast -- --test-threads=4 --show-outputexited 101 on both builds. The baseline table row is from a prior run of the same commit, machine, SDK, and command.SKIPPEDnoticesmainCounts are partial because two test processes aborted on each build.
main— none observed in comparable results.conservative_raster_tests::yielded 2 passed, 0 failed, 0 ignored, 0 skip notices withXCL_ADAPTER=radeon, and the same result withXCL_ADAPTER=warp. Each used--test-threads=1 --show-output --nocapture. Neither emitted the fallback log saying conservative rasterization was disabled.uploads_start_from_each_subresources_statepassed.Shared failures and process aborts
fuzz_validate_and_gpu_1,fuzz_validate_and_gpu_3, andtwo_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobsreported failures on both builds.gpu_compute_e2etest processes exited with0xc0000409on both builds.Retail smoke
Ran
scripts/smoke.ps1 -Game <local folder> -Seconds 60 -Xcl <debug binary>withXCL_UMA_DRIVER=mixedfor title hash2c508222.main0xc00004090xc00004090xc0000409The 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.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.