Repository navigation
D3D12.X: the depth bias of a 16-bit depth buffer is in 24-bit units - #2858
tiagonleal wants to merge 2 commits into
Conversation
|
Updated verification and code review of PR #2858 at head Both findings from our earlier review of
Tested
Regression run
PR #2858: No regressions observed (99.5% of baseline frames, 100.2% peak commit, 0 device removals, 0 crashes). Not tested
AI use
|
|
Independent desktop NVIDIA verification of PR #2858 at head Environment
Targeted release tests & build (
|
| Command | Result |
|---|---|
cargo test --release -p xcl --lib depth_bias_of_a_16_bit_depth_buffer_is_in_24_bit_units -- --nocapture |
1 passed; 0 failed; 0 ignored; 1345 filtered out (0.00s) |
cargo test --release -p xcl --lib native_depth_bias_follows_the_bound_pipelines_depth_format -- --nocapture |
1 passed; 0 failed; 0 ignored; 1345 filtered out (0.00s) |
cargo test --release -p xcl --lib a_d16s8_stream_gets_its_depth_bias_in_d24_units_in_either_order -- --nocapture |
1 passed; 0 failed; 0 ignored; 1345 filtered out (0.00s) |
cargo test --release -p xcl --lib a_d16s8_pipeline_gets_its_depth_bias_in_d24_units -- --nocapture |
1 passed; 0 failed; 0 ignored; 1345 filtered out (0.00s) |
cargo test --release -p xcl --lib hle::d3d12x::device_x:: (3 consecutive runs) |
15 passed; 0 failed; 0 ignored; 1331 filtered out × 3 (0.20s, 0.17s, 0.20s) |
cargo test --release -p xcl --lib hle::d3d12x::list_x:: |
41 passed; 0 failed; 0 ignored; 1305 filtered out (0.68s) |
cargo test --release -p xcl --lib hle::d3d12x::real:: |
65 passed; 0 failed; 0 ignored; 1281 filtered out (0.36s) |
cargo build --release -p xcl --bin xcl |
Clean build (1m 09s, exit 0) |
Paired quiet 60 s retail smoke (title: 29640639)
Exact parent & merge-base (e120925e3abc9956a8b9bae631969d32e8ccd43c, cached baseline on the same machine):
xcl-smoke v1
commit: e120925e3abc9956a8b9bae631969d32e8ccd43c
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1602 (PresentX 1602)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 13979 MB
PR #2858 (971f766cc9f442bc71623b2390bc285a63cdb456):
xcl-smoke v1
commit: 971f766cc9f442bc71623b2390bc285a63cdb456
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1599 (PresentX 1599)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 13970 MB
Runtime log observations (xcl.log)
9222log lines,0[ERROR]/ device-removal / panic lines.- Confirmed native dynamic depth-bias path active on RTX 4060:
D3D12.X: native dynamic depth bias (OPTIONS16): supported (ID3D12GraphicsCommandList9::RSSetDepthBias). - Final draw/memory telemetry in log:
19543 draws with translated pipelines (0 skipped, 0 with PC pipelines), 1024 dispatches (0 skipped); last memory sample13970 MB committed by the process; video memory 6115 MB local, 4651 MB non-local.
Limits of coverage
- RTX 4060 supports
OPTIONS16native dynamic depth bias (ID3D12GraphicsCommandList9::RSSetDepthBias), so the 60 s retail smoke exercised the native dynamic depth-bias hardware path rather than the derived/patched-PSO fallback path on GPU. - Visual or pixel-level comparison on a title rendering into
D16_UNORM_S8_UINT(118) depth buffers with non-zero constantDepthBiaswas not performed;×256scaling, saturation, stream subobject ordering, pipeline-switch re-emission, and patched-PSO handling were verified via the 4 new unit tests and the fulldevice_x::,list_x::, andreal::suites, while the 60 s smoke confirms clean graphics execution and zero regression ontitle: 29640639.
AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).
…sync Two cases left a bias on a D16_UNORM_S8_UINT (118) buffer in the wrong units after xcl-dev#2858's first commit: - The list kept the unscaled bias as the one RSSetDepthBias had, and a switch compared the formats of the previous and the new pipeline. A compute, untracked or non-dynamic pipeline in between changes the bound pipeline without a resend, so dynamic 118 (-1.0 sent as -256.0) -> non-dynamic or compute -> dynamic D24S8 drew with -256.0, and the reverse order with -1.0. try_native_depth_bias now records the scaled bias it sent, and every sync compares the target for the new pipeline's format with it. - A non-mesh pipeline stream's RASTERIZER1 / RASTERIZER2 bias was cut to an integer before pc_topology_type scaled it: -0.5 on 118 became 0, not -128. It is now scaled first, as in pc_stream_depth_bias and DepthBias::for_dsv; other formats keep the truncation. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Both findings confirmed on 971f766 and fixed in 25814cc, a new commit on top (971f766 stays an ancestor).
Ran on 25814cc: the depth-bias tests 3 times (10 passed each, including the device test AI use: Claude Code with Claude Fable 5.2 and Anthropic subagents (Claude Opus 5.5) wrote this; I checked it. |
|
Ran the D16S8 depth-bias tests at Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC 14.44.35207, DXC 1.9.2609.5, debug build. Both pass: Not tested: the dynamic depth-bias path on a real device, a paired smoke run, the full workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data. AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used. |
|
Follow-up independent desktop NVIDIA verification of PR #2858 at updated head Environment
Targeted release tests & build (
|
| Command | Result |
|---|---|
cargo test --release -p xcl --lib depth_bias_of_a_16_bit_depth_buffer_is_in_24_bit_units -- --nocapture |
1 passed; 0 failed; 0 ignored; 1346 filtered out (0.00s) |
cargo test --release -p xcl --lib native_depth_bias_follows_the_bound_pipelines_depth_format -- --nocapture |
1 passed; 0 failed; 0 ignored; 1346 filtered out (0.00s) |
cargo test --release -p xcl --lib native_depth_bias_resends_after_a_pipeline_that_does_not_sync -- --nocapture |
1 passed; 0 failed; 0 ignored; 1346 filtered out (0.00s) |
cargo test --release -p xcl --lib a_d16s8_stream_gets_its_depth_bias_in_d24_units_in_either_order -- --nocapture |
1 passed; 0 failed; 0 ignored; 1346 filtered out (0.00s) |
cargo test --release -p xcl --lib a_d16s8_pipeline_gets_its_depth_bias_in_d24_units -- --nocapture |
1 passed; 0 failed; 0 ignored; 1346 filtered out (0.00s) |
cargo test --release -p xcl --lib hle::d3d12x::device_x:: (3 consecutive runs) |
15 passed; 0 failed; 0 ignored; 1332 filtered out × 3 (0.18s, 0.17s, 0.17s) |
cargo test --release -p xcl --lib hle::d3d12x::list_x:: |
42 passed; 0 failed; 0 ignored; 1305 filtered out (0.68s) |
cargo test --release -p xcl --lib hle::d3d12x::real:: |
65 passed; 0 failed; 0 ignored; 1282 filtered out (0.35s) |
cargo build --release -p xcl --bin xcl |
Clean build (1m 08s, exit 0) |
Paired quiet 60 s retail smoke (title: 29640639)
Merge-base (e120925e3abc9956a8b9bae631969d32e8ccd43c, cached baseline on the same machine):
xcl-smoke v1
commit: e120925e3abc9956a8b9bae631969d32e8ccd43c
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1602 (PresentX 1602)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 13979 MB
PR #2858 (25814cc264c041797ab8a542cdeed30416244a40):
xcl-smoke v1
commit: 25814cc264c041797ab8a542cdeed30416244a40
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1601 (PresentX 1601)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14028 MB
Runtime log observations (xcl.log)
9223log lines,0[ERROR]/ device-removal / panic lines.- Confirmed native dynamic depth bias active on RTX 4060:
D3D12.X: native dynamic depth bias (OPTIONS16): supported (ID3D12GraphicsCommandList9::RSSetDepthBias). - Final draw/memory telemetry in log:
19543 draws with translated pipelines (0 skipped, 0 with PC pipelines), 1024 dispatches (0 skipped); last memory sample14028 MB committed by the process; video memory 6116 MB local, 4683 MB non-local.
Limits of coverage
- RTX 4060 exposes
OPTIONS16native dynamic depth bias (ID3D12GraphicsCommandList9::RSSetDepthBias), so the 60 s retail smoke exercised the native dynamic path rather than the derived/patched-PSO fallback path on GPU. - Re-emission after non-syncing pipelines (
native_depth_bias_resends_after_a_pipeline_that_does_not_sync) and D16-to-D24×256scaling/ordering semantics were verified via all 5 targeted unit tests plus fulldevice_x::,list_x::, andreal::suites; no visual/pixel-level inspection on a console title usingD16_UNORM_S8_UINT(118) depth buffers with non-zero constantDepthBiaswas performed.
AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).
…triaged SKIP, probe past xcl-dev#2860)
|
RX 9070 / RADV / Wine pixel-readback comparison at Tested
The fixture draws one full-screen triangle at
For example, dynamic format 118 / bias Across the nine raster processes: 324 paired cases, 648 D3D12 draw submissions, 663,552 readback u32 values, all independently checked. Captures are byte-identical within each source across repetitions; head/integrated-head captures and all sources' reference shader containers also match. Inherited Not tested The fixture uses a plain PC D3D12 device and test-only base registration, so it does not validate the complete console PSO/resource creation hooks. No GPU check of derived fallback PSOs, GS/mesh/pipeline-stream routes, nonzero clamp/slope, precision edges, native Windows, other GPUs, full suite, retail workload, AI use OpenAI Codex (GPT-6; exact serving variant not exposed) wrote the owned test-only fixture, ran the comparisons, independently verified the raw pixels/state and drafted this report. Publication authorized by the account owner. |
|
Tested Clean
Four pixel readback assertions passed, zero failed, ignored, or skipped. Executable and wrapper hashes matched before, under, and after the lock. Not tested On-device dynamic bias, the separate D32_FLOAT fixture, full workspace suite and retail smoke. AI use T3 Code / Codex ( |
|
merge-check claim |
|
merge-check |
|
merge-check claim |
|
merge-check |
…sync Two cases left a bias on a D16_UNORM_S8_UINT (118) buffer in the wrong units after xcl-dev#2858's first commit: - The list kept the unscaled bias as the one RSSetDepthBias had, and a switch compared the formats of the previous and the new pipeline. A compute, untracked or non-dynamic pipeline in between changes the bound pipeline without a resend, so dynamic 118 (-1.0 sent as -256.0) -> non-dynamic or compute -> dynamic D24S8 drew with -256.0, and the reverse order with -1.0. try_native_depth_bias now records the scaled bias it sent, and every sync compares the target for the new pipeline's format with it. - A non-mesh pipeline stream's RASTERIZER1 / RASTERIZER2 bias was cut to an integer before pc_topology_type scaled it: -0.5 on 118 became 0, not -128. It is now scaled first, as in pc_stream_depth_bias and DepthBias::for_dsv; other formats keep the truncation. The RASTERIZER2 arm (D3D12_RASTERIZER_DESC2) records its float bias the same way as RASTERIZER1.
25814cc to
b1db118
Compare
|
@KOLESNiii thanks for the merge check. The head is now AI use: Claude Code wrote this comment (Claude Fable 5.2). |
…sync Two cases left a bias on a D16_UNORM_S8_UINT (118) buffer in the wrong units after xcl-dev#2858's first commit: - The list kept the unscaled bias as the one RSSetDepthBias had, and a switch compared the formats of the previous and the new pipeline. A compute, untracked or non-dynamic pipeline in between changes the bound pipeline without a resend, so dynamic 118 (-1.0 sent as -256.0) -> non-dynamic or compute -> dynamic D24S8 drew with -256.0, and the reverse order with -1.0. try_native_depth_bias now records the scaled bias it sent, and every sync compares the target for the new pipeline's format with it. - A non-mesh pipeline stream's RASTERIZER1 / RASTERIZER2 bias was cut to an integer before pc_topology_type scaled it: -0.5 on 118 became 0, not -128. It is now scaled first, as in pc_stream_depth_bias and DepthBias::for_dsv; other formats keep the truncation. The RASTERIZER2 arm (D3D12_RASTERIZER_DESC2) records its float bias the same way as RASTERIZER1.
b1db118 to
c4dc6e6
Compare
|
merge-check claim Re-check of the new head (my earlier check was on the head before the rebase). |
|
merge-check |
…sync Two cases left a bias on a D16_UNORM_S8_UINT (118) buffer in the wrong units after xcl-dev#2858's first commit: - The list kept the unscaled bias as the one RSSetDepthBias had, and a switch compared the formats of the previous and the new pipeline. A compute, untracked or non-dynamic pipeline in between changes the bound pipeline without a resend, so dynamic 118 (-1.0 sent as -256.0) -> non-dynamic or compute -> dynamic D24S8 drew with -256.0, and the reverse order with -1.0. try_native_depth_bias now records the scaled bias it sent, and every sync compares the target for the new pipeline's format with it. - A non-mesh pipeline stream's RASTERIZER1 / RASTERIZER2 bias was cut to an integer before pc_topology_type scaled it: -0.5 on 118 became 0, not -128. It is now scaled first, as in pc_stream_depth_bias and DepthBias::for_dsv; other formats keep the truncation. The RASTERIZER2 arm (D3D12_RASTERIZER_DESC2) records its float bias the same way as RASTERIZER1.
c4dc6e6 to
83a98ee
Compare
83a98ee to
7cd0ca0
Compare
…sync Two cases left a bias on a D16_UNORM_S8_UINT (118) buffer in the wrong units after xcl-dev#2858's first commit: - The list kept the unscaled bias as the one RSSetDepthBias had, and a switch compared the formats of the previous and the new pipeline. A compute, untracked or non-dynamic pipeline in between changes the bound pipeline without a resend, so dynamic 118 (-1.0 sent as -256.0) -> non-dynamic or compute -> dynamic D24S8 drew with -256.0, and the reverse order with -1.0. try_native_depth_bias now records the scaled bias it sent, and every sync compares the target for the new pipeline's format with it. - A non-mesh pipeline stream's RASTERIZER1 / RASTERIZER2 bias was cut to an integer before pc_topology_type scaled it: -0.5 on 118 became 0, not -128. It is now scaled first, as in pc_stream_depth_bias and DepthBias::for_dsv; other formats keep the truncation. The RASTERIZER2 arm (D3D12_RASTERIZER_DESC2) records its float bias the same way as RASTERIZER1.
…sync Two cases left a bias on a D16_UNORM_S8_UINT (118) buffer in the wrong units after xcl-dev#2858's first commit: - The list kept the unscaled bias as the one RSSetDepthBias had, and a switch compared the formats of the previous and the new pipeline. A compute, untracked or non-dynamic pipeline in between changes the bound pipeline without a resend, so dynamic 118 (-1.0 sent as -256.0) -> non-dynamic or compute -> dynamic D24S8 drew with -256.0, and the reverse order with -1.0. try_native_depth_bias now records the scaled bias it sent, and every sync compares the target for the new pipeline's format with it. - A non-mesh pipeline stream's RASTERIZER1 / RASTERIZER2 bias was cut to an integer before pc_topology_type scaled it: -0.5 on 118 became 0, not -128. It is now scaled first, as in pc_stream_depth_bias and DepthBias::for_dsv; other formats keep the truncation. The RASTERIZER2 arm (D3D12_RASTERIZER_DESC2) records its float bias the same way as RASTERIZER1.
7cd0ca0 to
5a6821e
Compare
The console's D16_UNORM_S8_UINT (118) has no PC format; its depth buffers become D24_UNORM_S8_UINT. On a UNORM depth buffer D3D12 applies bias = DepthBias * 2^-n + SlopeScaledDepthBias * MaxDepthSlope (n: depth bits), clamped by DepthBiasClamp. A title's DepthBias for its 16-bit buffer (2^-16 a unit) reached the 24-bit one unchanged (2^-24 a unit): every constant bias on such a buffer was 2^8 = 256 times weaker. device_x::pc_depth_bias turns the integer bias into the PC format's units (x256 for 118 while it is D24S8 on the PC, saturating at the i32 limits); DepthBias::for_dsv scales a float bias exactly (-0.5 -> -128.0), rounding only where a desc needs an integer. Slope and clamp are not in these units and stay. Applied where a pipeline's DSVFormat becomes the PC's (pc_topology_type, the GS pipeline stream), to the RASTERIZER / RASTERIZER1 / RASTERIZER2 subobjects of the two-pass mesh and stand-in streams (by the stream's DEPTH_STENCIL_FORMAT, in either order), to the patched-PSO fallback (scaled before rounding, not scaled twice) and to the native ID3D12GraphicsCommandList9::RSSetDepthBias calls, by the bound pipeline's console DSVFormat; a pipeline switch between depth formats resends the bias from its unscaled value.
…sync Two cases left a bias on a D16_UNORM_S8_UINT (118) buffer in the wrong units after xcl-dev#2858's first commit: - The list kept the unscaled bias as the one RSSetDepthBias had, and a switch compared the formats of the previous and the new pipeline. A compute, untracked or non-dynamic pipeline in between changes the bound pipeline without a resend, so dynamic 118 (-1.0 sent as -256.0) -> non-dynamic or compute -> dynamic D24S8 drew with -256.0, and the reverse order with -1.0. try_native_depth_bias now records the scaled bias it sent, and every sync compares the target for the new pipeline's format with it. - A non-mesh pipeline stream's RASTERIZER1 / RASTERIZER2 bias was cut to an integer before pc_topology_type scaled it: -0.5 on 118 became 0, not -128. It is now scaled first, as in pc_stream_depth_bias and DepthBias::for_dsv; other formats keep the truncation. The RASTERIZER2 arm (D3D12_RASTERIZER_DESC2) records its float bias the same way as RASTERIZER1.
5a6821e to
c3467c1
Compare
|
A heads-up from carrying this PR in an integration build with #3223 (Kalmarv's AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 3.8 Flash. |
|
No open or merged PR scales the depth bias for console D16_UNORM_S8_UINT (118) mapped to D24S8. Main has no AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
The console's D16_UNORM_S8_UINT (118) has no PC format, so its depth buffers become D24_UNORM_S8_UINT. On a UNORM depth buffer D3D12 applies
DepthBias * 2^-n + SlopeScaledDepthBias * MaxDepthSlope(n: depth bits), clamped byDepthBiasClamp. A title'sDepthBiasmeant for a 16-bit buffer (2^-16 a unit) reached the 24-bit one unchanged (2^-24 a unit), so every constant bias on such a buffer was 256 times weaker than on the console. The bias is now scaled by 2^8 for that format. Slope and clamp are not in these units and stay.Where the bias reaches the PC:
pc_topology_type, where the DSVFormat becomes the PC's (all graphics paths), and the GS pipeline stream, which passed the rasterizer state on directlytry_native_depth_bias, by the console DSVFormat of the bound pipeline, with the float scaled exactly (-0.5 becomes -128.0, not rounded first). It stores the scaled bias it actually sent, and a pipeline switch orRSSetDepthBiascompares the new target scaled for the bound pipeline's format with that stored value, so a compute, untracked or non-dynamic pipeline in between cannot hide a change of format. The patched-PSO fallback scales before rounding and is not scaled a second time.The scaling applies only while
pc_view_format(118)is D24S8. If 118 maps to D32_FLOAT (as in #1649), the unit depends on the primitive's depth exponent and no fixed factor is right, so the scaling turns itself off.Based on
e120925e, the lastmaincommit before #2555 (see Regression run).Rebased onto
main0fe06eb0, with two adaptations. Conflicts this time were with #2856 and #3292, both merged since:translated_mesh_stream_oncenow takes its render target formats fromstream_rt_formats, and this PR'sstream_dsv_formatandpc_stream_depth_biassit aftermain's newis_uint_dxgi_format; this PR's own lines are unchanged.main's a076293 added a native route for streams with extended rasterizer state (rewrite_graphics_stream), which copied the bias unscaled; it now scales a D16S8 bias there too (new testa_rewritten_d16s8_stream_gets_its_depth_bias_in_d24_units; without the change it fails with left -0.5, right -128.0).mainalso gave RASTERIZER_DESC2 its own arm instream_pipeline, which now records its float bias like RASTERIZER1 (stream_pipeline_defaults_depth_enable_from_dsv_format, type 28: left 0, right -128 without it). The test'sStreamPipeline::Graphicspattern hasmain's second field, which is the build failure @KOLESNiii's merge check found.What is in it
crates/xcl/src/hle/d3d12x/device_x.rs:pc_depth_bias(saturating at the i32 limits),DepthBias::for_dsv,base_dsv_format, the fallback's scaling; new testdepth_bias_of_a_16_bit_depth_buffer_is_in_24_bit_units(integer, fractional and saturating values)crates/xcl/src/hle/d3d12x/real.rs:pc_topology_type, the GS stream, the two-pass mesh stream andfallback_streamuse it;stream_pipelinescales the RASTERIZER1 / RASTERIZER2 float (stream_dsv_format,pc_stream_depth_bias); new testsa_d16s8_pipeline_gets_its_depth_bias_in_d24_unitsanda_d16s8_stream_gets_its_depth_bias_in_d24_units_in_either_ordercrates/xcl/src/hle/d3d12x/list_x.rs: the nativeRSSetDepthBiascalls and the pipeline-switch resync use it; new testsnative_depth_bias_follows_the_bound_pipelines_depth_formatandnative_depth_bias_resends_after_a_pipeline_that_does_not_syncTested
cargo test -p xcl --lib -- depth_bias d24_units stream_pipeline_defaults_depth_enable --test-threads=4: 10 passed, 0 failed, 3 of 3 runs on 25814cc. One of the ten,depth_bias_native_list9_and_bundle_fallback, creates a D3D12 device and ran here (no SKIPPED line). The ten aredepth_bias_of_a_16_bit_depth_buffer_is_in_24_bit_units,depth_bias_patches_rasterizer_fields,depth_bias_state_tracks_fallback_and_clear,native_depth_bias_follows_the_bound_pipelines_depth_format,depth_bias_native_path_exact_f32_and_list9_fallback,native_depth_bias_resends_after_a_pipeline_that_does_not_sync,a_d16s8_pipeline_gets_its_depth_bias_in_d24_units,a_d16s8_stream_gets_its_depth_bias_in_d24_units_in_either_order,stream_pipeline_defaults_depth_enable_from_dsv_formatanddepth_bias_native_list9_and_bundle_fallback.pc_depth_bias(local change, not committed) on 971f766, the four scaling tests failed (device_x.rs:1531left: 4, right: 1024; list_x.rs:5286left: Some(-3.0), right: Some(-768.0); real.rs:6678left: (DXGI_FORMAT(45), -8), right: (DXGI_FORMAT(45), -2048); real.rs:6652left: -8, right: -2048).native_depth_bias_resends_after_a_pipeline_that_does_not_sync(list_x.rs:5339,case 0: [-256.0],left: Some(-256.0), right: Some(-1.0)) andstream_pipeline_defaults_depth_enable_from_dsv_format(real.rs:8538,type 27, bias -0.5, D16S8,left: 0, right: -128). Restored, both pass.cargo test --workspace --no-fail-fast -- --test-threads=4, once on 25814cc: 1443 passed, 4 failed, 47 ignored (25SKIPPEDlines: 21no wave64, 1no heap windows, 3 recompiler cases refused as unsupported). The 4 failures aregpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3(CreateComputePipelineStatereturns E_OUTOFMEMORY, 0x8007000E); they fail the same way one120925eon this machine (cargo test -p xcl --lib fuzz_validate_and_gpu: 0 passed, 4 failed).main0fe06eb0(headc3467c18):cargo test --workspace --no-fail-fast -j 8 -- --test-threads=4, one run: 2743 passed, 0 failed, 49 ignored (27SKIPPEDlines);main0fe06eb0on this machine: 2737 passed, 0 failed, 49 ignored. The other results in this section are from the earlier heads named in them.Regression run
scripts/smoke.ps1 -Seconds 60 -Title 9cc6a39e(Newer Retail Game), release builds of both commits in clean trees,main0fe06eb0first, one run each, in one queue with this account's other PRs. Both runs hadXCL_PREPARE=0and the same warm DXIL cache. A warm-up run ofmaincame before them and is not shown. A second run ofmainat the end of the queue showed 1697 frames and a peak commit of 15618 MB, so differences of under a hundred frames between runs are noise here.main(0fe06eb0):This PR (
c3467c18):On the earlier head
b1db118done run of this tree ended at 60 s as usual but its process did not exit. That is the end watchdog going through XCL's own terminate hook with the other threads suspended, whichmainhad then; #2698, merged since, fixed it. It is not related to this PR's change.Not tested
CreatePipelineState(device_x.rs:618) does not record them (note_base,device_x.rs:218), so their dynamic bias is sent unscaled. The open PR D3D12.X: route stream graphics PSOs through create_graphics_pso_tracked #1661 routes streams throughcreate_graphics_pso_tracked, which would cover them.maincommit that contains xcl run: prepare shaders in the game window before title execution #2555AI use
🤖 Generated with Claude Code