Recompiler: complete remaining RDNA2 integer CLAMP=1 saturation (#105) #202
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!202
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-202"
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?
@JGonzalezRodriguez on GitHub · 2026-11-23 20:40 UTC · original
JGonzalezRodriguez:fix/recomp-int-clamp-followup→main· +619 −24 · 2 files · 1 commits · openPart of #105 item 4 (follow-up to #119). Completes the remaining RDNA2 (
GFX10.3) integerCLAMP=1saturation paths incrates/xcl/src/gpu/recomp/emit.rsand fixesv_mad_i64_i32SDSTsign-bit calculation.What is in it
valu16&valu_pk(16-bit integerCLAMP=1, preserving untouched half &OP_SEL):v_add_nc_u16,v_sub_nc_u16,v_add_nc_i16,v_sub_nc_i16,v_mul_lo_u16,v_pk_mul_lo_u16,v_mad_u16,v_mad_i16(plus pre-existing aliasesv_add_u16/v_sub_u16/v_subrev_u16). On RDNA2 (GFX10.3), bothv_mul_lo_u16(VOP3) andv_pk_mul_lo_u16(VOP3P) saturate to0xFFFFuunderCLAMP=1(confirmed in AMDrocjitsuRdna2Profileand LLVMVOP3PInstructions.td/llvm-mc -mcpu=gfx1030).valu(32-bit 24×24 / 16×16 MUL & MAD, SAD/MSAD, carry add/sub):v_mul_u32_u24,v_mul_i32_i24,v_mad_u32_u24,v_mad_i32_i24,v_mad_u32_u16,v_mad_i32_i16,v_sad_u32,v_sad_u8,v_sad_hi_u8,v_sad_u16,v_msad_u8,v_add_co_u32,v_sub_co_u32,v_subrev_co_u32,v_add_co_ci_u32,v_sub_co_ci_u32,v_subrev_co_ci_u32(preserving unclampedSDST/VCCcarry/borrow, includingVOP2_VOP_SDWACLAMP=1).valu64(v_mad_u64_u32,v_mad_i64_i32): Saturates 64-bitVDSTunderCLAMP=1, and fixesv_mad_i64_i32SDSTto write bit 64 (sign bit of the exact 65-bit signed sum) instead of unsigned carry-out.v_cvt_pkrtz_f16_f32: Left untouched (VOP3OMOD/CLAMPdo not apply on RDNA2 per Mesa ACOb63aa2bb8eandrocjitsu), with regression tests asserting VOP3OMOD/CLAMPare ignored.sat_i16(int r)usingselect(...)to avoid an NVIDIA610.57.4SPIR-V bug that dropped& 0xFFFFuonclamp(r, -32768, 32767) & 0xFFFFu.sat_u32(uint64_t r)((uint)r | (0u - min((uint)(r >> 32), 1u))) so Windows SDK DXC1.7–1.9.2602does not emit invalidllvm.umul.with.overflow.i32DXIL (caught by@Kalmarv).Tested
rustc 1.98.1x86_64-pc-windows-msvcviaclang-cl 23.1.1+lld-link+xwinSDK10.0.26100, DXC1.9.2609, Proton Experimental + local relaxedvkd3d-proton):cargo build --release --workspace&cargo test --no-run --package xcl --lib: 0 errors, 0 warnings.610.57.4, wave32):gpu::recomp::tests::— 111 passed, 0 failed, 17 ignored (incl.int_clamp_hlsl_codegen, 3 new GPU clamp tests, andgpu_sparse_vram_descriptors_buffers_and_xmem);xcl_testtitle.exe47/50 passed (all 18 D3D12.X checks pass).radv 26.2.4, native wave64 + wave32):gpu::recomp::tests::— 107 passed, 0 failed, 17 ignored (skipping#175+ 3 pre-existing unrelated RADV f64/FMA failures; all newint_clamptests pass in both wave64 and wave32);xcl_testtitle.exe47/50 passed (all 18 D3D12.X checks pass).6c6b000below):@WarmMilkCodes(AMD Radeon RX 6600 XT RDNA2, Windows 11 23H2):cargo test --workspace -- --test-threads=4— 655 passed, 0 failed, 0 GPU tests skipped.@PHeitor1(RTX 5060 Ti, driver621.24, Windows 11 Pro 26300):cargo test --workspace -- --test-threads=4— 655 passed, 0 failed, 40 ignored (2 skips:no wave64).@Kalmarv(RTX 5070 Ti, driver610.74, Windows 11 + SDK DXC1.7.2308.16):gpu::recomp::— 186 passed, 0 failed, 18 ignored (and 187/187 merged with#246).Regression run
scripts/smoke.ps1run by a tester with a retail title.Not tested
scripts/smoke.ps1regression run.AI use
@mastrr9 on GitHub · 2026-11-23 21:11 UTC · original
Independent static code & RDNA2 ISA audit of
c06f53b38(code inspection only —cargo testnot run on macOS; no game files):Verified clean
emit.rs:2633-2638,2855-2876):min(a + b, 0xFFFFu),selectborrow clamping,sat_i16, andv_mad_u16/v_mad_i16all stay within 32-bituint/intwithout overflow, andsat_i16masks to0xFFFFso theOP_SELhigh/low-half merge cannot bleed sign bits into the untouched half. Leavingv_pk_mul_lo_u16wrapping also matches RDNA2 hardware (VOP3Pmul_loignoresCLAMP).{t}_ccarry/borrow before saturating VDST, andv_mad_u64_u32/v_mad_i64_i32overflow/underflow checks all check out by hand.Concerns / items to check before undrafting
v_cvt_pkrtz_f16_f32appliesOMOD(emit.rs:3154): CallingSelf::out_mods(&m, &fs(..))applies bothOMODandCLAMPto thef32inputs beforef16_rtz. Per the AMD RDNA2 ISA,OMODis not supported / ignored onv_cvt_pkrtz_f16_f32(and pre-conversionOMODdiverges from post-conversion at f16 overflow such as40000.0 * 2.0and subnormals). Worth confirming on RDNA2 hardware or restrictingv_cvt_pkrtz_f16_f32toCLAMPonly (saturateper half).v_mad_i64_i32carry-out (emit.rs:2959-2988): Carry-out remains unsignedw < c(pre-existing), and the new test only checks that clamped and unclamped SDST match (sgpr[30..31] == sgpr[32..33]) rather than asserting expected carry values.CLAMPwith sub-dwordDST_SEL: Clamps at 32 bits beforevwritetruncates to byte/word; onlyDST_SEL=6(DWORD) is tested.tests.rs:1099-1590):v_subrev_nc_u16,v_add_u16,v_sub_u16, andv_subrev_u16clamp arms have no tests yet.v_add_co_ci_u32clamp test, odd lanes already produce0xFFFFFFFFunclamped, so assertingv[16] == 0xFFFFFFFFonly distinguishes clamp from wrap on even lanes.0xFFFF + 0vs+ 1,32767 + 0vs+ 1,-32768 - 0vs- 1) would tighten regression coverage.(AI-assisted)
@Kalmarv on GitHub · 2026-11-23 21:20 UTC · original
One of the three new GPU tests can't pass yet: DXC turns
sat_u32of the 24-bit multiply (emit.rs:3242, helper at line 5321) intollvm.umul.with.overflow.i32and invalidextractvalues, so the shader fails DXIL validation (DXC 1.7, 1.8 and 1.9 alike). Having the helper return(uint)r | (0u - min((uint)(r >> 32), 1u))compiles on all three, and with that in the emitted HLSL all three tests pass on an RTX 5070 Ti.Tested
The head fixes two of its three new GPU tests on Windows/Blackwell. The third reaches a DXIL validation error before dispatch.
956a476and6da33fa+ PR testsc06f53band mergee43abb8v_add_nc_u16v_add_co_u32v_mad_u32_u16At
crates/xcl/src/gpu/recomp/emit.rs:3242, the unsigned 24-bit multiply feedssat_u32at line 5321. Compiling that expression alone ascs_6_6 -HV 2021producesllvm.umul.with.overflow.i32and invalidextractvalueinstructions with SDK DXC 1.7.2308.16, 1.8.2505.32, and 1.9.2602.17. The complete failing PR test reproduced with both 1.7 and 1.9. The reduced shader compiles on all three when the helper returns(uint)r | (0u - min((uint)(r >> 32), 1u)). With that expression substituted in the emitted HLSL only, all three original PR tests passed on the 5070 Ti, including the packed f16 assertions.RTX 5070 Ti, 610.74, native Windows D3D12, default SDK DXC 1.7 for the module. Built with
cargo test -p xcl --lib --no-run -j 2and rangpu::recomp:: --test-threads=1. Direct head: 167 passed, 1 failed, 18 ignored. Merged onto6da33fa: 173 passed, 1 failed, 18 ignored. The shared6da33facontrol passed 171 existing tests and failed the three carried #202 tests plus two independent #138 probes.Not tested
Native wave64, Vulkan/vkd3d-proton, and retail shaders. The standalone compiler reduction was a compile-only check.
AI use — Codex, GPT-6.2 Astra.
@JGonzalezRodriguez on GitHub · 2026-11-23 21:39 UTC · original
Thanks @Kalmarv and @ethandepstein-del for the thorough testing and static ISA review! Rebased onto
main(6da33fa) and pushed6c6b000addressing every item:1.7–1.9.2602validation failure onsat_u32(@Kalmarv):1.9.2609, which didn't trigger thellvm.umul.with.overflow.i32lowering). Switchedsat_u32to your exact branchless formula(uint)r | (0u - min((uint)(r >> 32), 1u))and added a CPU-only codegen test (int_clamp_hlsl_codegen) that locks it down and runs on GPU-less Windows CI.v_cvt_pkrtz_f16_f32OMOD/CLAMP(@ethandepstein-del & our independent review):v_cvt_pkrtz_f16_f32back tof16_rtz(fs(0)) | (f16_rtz(fs(1)) << 16)(verified via Mesa ACOb63aa2bb8edst(noMods(PkF16))and AMDrocjitsuthat neitherOMODnor VOP3CLAMPapplies on RDNA2, while sourceABS/NEGstill apply), and updated tests to assert VOP3CLAMP=1andOMOD=1are ignored.v_mad_i64_i32SDST(@ethandepstein-del & our independent review):v_mad_i64_i32to write bit 64 (the sign bit of the exact 65-bit signed sumsext65(p) + sext65(c)) toSDSTinstead of unsigned carry-outw < c, simplified signed saturation directly from bit 64 vs bit 63, and replacedclamp == wrapwith exact expectedSDSTbitmask assertions for bothv_mad_i64_i32(0x8E8E_8E8E) andv_mad_u64_u32.v_mul_lo_u16&v_pk_mul_lo_u16CLAMP=1(note for @ethandepstein-del):CLAMP=1saturation (min(a * b, 0xFFFFu)) for both. There is cross-generation confusion here: RDNA2 (GFX10.3) specifically saturates both, whereas RDNA1 and RDNA3+ wrap — confirmed in AMD's first-partyROCm/rocm-systemsrocjitsu(Rdna2Profile:packed_mul_lo_u16_clamp = True,mul_lo_u16_clamp_encodings = {'ENC_VOP3'}, explicitly verified intest_profile_properties.py::test_packed_u16_multiply_clamp: RDNA2True, RDNA1/RDNA3/RDNA3.5/RDNA4False) and LLVM AMDGPU (VOP3PInstructions.tdV_PK_MUL_LO_U16+llvm-mc -arch=amdgcn -mcpu=gfx1030).0xFFFF + 0/+1,32767 + 0/+1,-32768 - 0/-1),v_cvt_i16_f16NaN/+inf/-inf,v_add_co_ci_u32/v_sub_co_ci_u32/v_subrev_co_ci_u320xFFFF_FFFFcarry/borrow wraparound cases, SDWACLAMP=1tests forV_MUL_I32_I24/V_ADD_CO_CI_U32/V_SUB_CO_CI_U32, and regression checks confirmingmin/max/med3_i16are unaffected by the NVIDIA610.57.4sign-leak bug.Re-verified on both RTX 4090 (110/110 +
gpu_sparse_vram_descriptors_buffers_and_xmem) and AMD Raphael RDNA2 / RADV (107/107, wave64 + wave32). Moving out of draft now.AI-assisted.
@Kalmarv on GitHub · 2026-11-23 21:55 UTC · original
Re-checked
6c6b000against my earlier comment.sat_u32is now(uint)r | (0u - min((uint)(r >> 32), 1u)), and the shader DXC rejected before now passes validation.gpu_int_clamp_32bit_mad_mul_sadpasses on the SDK DXC 1.7 that failed it before.int_clamp_hlsl_codegenpass.Tested
RTX 5070 Ti, driver 610.74, native Windows D3D12, SDK DXC 1.7.2308.16. Built with
cargo test -p xcl --lib --no-run -j 2, run with--test-threads 1.gpu_clamp_and_omod_per_instructiongpu::recomp::60565c4+6c6b000e120969valu64_clamp_and_omod_hlsl)Not tested
v_mul_lo_u16/v_pk_mul_lo_u16saturating under CLAMP, andv_mad_i64_i32SDST as bit 64 of the 65-bit sum) on console hardware. Here they only pass the PR's own tests.🤖 Claude Opus 5.5
@WarmMilkCodes on GitHub · 2026-11-23 22:09 UTC · original
Tested #202
6c6b000merged onto main9ab7d76on AMD Radeon RX 6600 XT (RDNA2), driver 32.0.21045.29003, Windows 11 23H2 (22631.6199): passcargo test --workspace --no-fail-fast -- --test-threads=4, noXCL_SAMPLE_*data: main 651 passed / 0 failed; this 655 passed / 0 failed, 0 GPU tests skipped. The PR's 4 new tests pass on real RDNA2 hardware; no new failures.@PHeitor1 on GitHub · 2026-11-23 22:34 UTC · original
Tested
6c6b000merged ontomain9ab7d76on RTX 5060 Ti 8 GB (Blackwell, 32-lane waves), NVIDIA 621.24, Ryzen 5 5600X, Windows 11 Pro 26300 (native), rustc 1.100.0 MSVC, debug,cargo test --workspace --no-fail-fast -- --test-threads=4, noXCL_SAMPLE_*. Baselinemain9ab7d76: 651 passed, 0 failed, 40 ignored.Pass: 655 passed, 0 failed, 40 ignored. GPU skips: the same 2 as on
main(no wave64).Run and written with Claude Code (Claude Opus 5.5).
@requiemsnkrp on GitHub · 2026-11-23 23:15 UTC · original
Tested
6c6b000on NVIDIA GeForce RTX 3060 12 GB (driver 32.0.16.1714 / 617.14, 32-lane waves), Ryzen 5 5600X, Windows 11 Pro 25H2 (26200.9974), Rust 1.100.0 (stable-x86_64-pc-windows-msvc), DXC 1.9.2602.17 (Windows SDK), debug: pass.Tested
cargo test --workspace -j 4 --no-fail-fast -- --test-threads=4 --skip test_title_runs_and_game_folder_is_untouched --skip test_title_draws_with_a_root_signature_under_the_debug_layer: 623 passed, 0 failed, 40 ignoredSKIPPED(no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardwaregpu_int_clamp_16bit ... ok,gpu_int_clamp_32bit_mad_mul_sad ... ok,gpu_int_clamp_carry_and_64bit ... ok,int_clamp_hlsl_codegen ... ok(GPU ones ran, not skipped, on Ampere)main4017f8fon the same machine, same command: 650 passed, 0 failed, 40 ignored, same 2 SKIPPED. The head is on6da33fa, 55 commits behindmain, hence the lower total.main4017f8f(git merge-tree), the merge result was not tested.test_title_runs_and_game_folder_is_untouched,test_title_draws_with_a_root_signature_under_the_debug_layer): they open the XCL game window and this PC was in use (the 2 "filtered out").Not tested
main).AI use: Claude Code with Claude Opus 5.5 (ran the tests and wrote this report).
@Rednaxeh on GitHub · 2026-11-24 00:00 UTC · original
RDNA3: Radeon RX 7800 XT (native 64-lane waves) –
6c6b000merged ontomain85bdf21: 669 passed, 0 failed; regression run on a retail title (no removal, no crash, frames ≥main)Tested the merge commit
07b7ba0=main85bdf21+ this PR's head6c6b000(clean merge, no uncommitted changes). NoXCL_SAMPLE_*variables set, no game data for the test suite.x86_64-pc-windows-msvc, debug; DXC 1.9.2602.17 (Windows SDK 10.0.26100); system XGameRuntime 10.0.26100.9656Whole suite –
.\scripts\test.ps1(cargo build --workspace+cargo test --workspace -- --test-threads=4) withXCL_REQUIRE_GPU=wave64,mesh, so a skipped GPU test would have failed:main85bdf2107b7ba0)The 4 extra passes are this PR's tests (
int_clamp_hlsl_codegen,gpu_int_clamp_16bit,gpu_int_clamp_32bit_mad_mul_sad,gpu_int_clamp_carry_and_64bit). By exact name with--test-threads=1: 4 passed natively and 4 passed withXCL_SPLIT_WAVE64=1(the 32-lane split form on AMD);gpu::recomp::underXCL_SPLIT_WAVE64=1: 186 passed, 0 failed, 18 ignored. So the clamped forms compile in the AMD driver's compiler and give the expected values on 64-lane hardware, in both wave forms.Regression run –
scripts/smoke.ps1 -Game <folder>on a retail title, release builds ofmain85bdf21and of the merge07b7ba0, no uncommitted changes, same machine, the three runs one after the other in this order. All three: exit 0x0, 0 device removals, 0 crashes. Thegpu:line names the wrong adapter (the script's known issue, #281 / #282 / #285); the GPU was the RX 7800 XT. Blocks unedited.main, first run on an emptycache/(the #284 first-run window; a warm-up, not for comparison):main85bdf21, second run:main(07b7ba0), first run with its exe:Reading: more frames than
main(816 vs 421) and a slightly lower peak (15550 vs 15565 MB), no device removal, no crash. The 7–8 presents per 2 s at the end of the minute are the same on both builds: since #283 (9bd7635, in85bdf21) the title's intro movie is drawn instead of green, and its per-frame plane upload is what sets the rate during the movie (8–9 presents / 2 s on an RX 7800 XT in the #283 thread too, with the detile profiled there). Not this PR's doing; on9ab7d76the same minute ran at 60 / 2 s with the green movie (see my #245 comment).Not tested: release build of the test suite not run; no RDNA4 / RDNA2 here (RDNA2 is in the RX 6600 XT comment above).
Report written with Claude Code (Claude Fable 5.1) from the runs above; the commands and counts are from this machine.
@WebIdentity1 on GitHub · 2026-11-24 01:31 UTC · original · edited 2026-11-24 01:38 UTC
Independent native Windows / Ampere validation of
6c6b000705e518760026241c6e539d5b594db827merged cleanly onto main7ebf1b8044bef8f0ef296eb36e85010cceb4633a(integration tree24ccd98bfb0654f67d6d2b5e67df8b8fa2a767c0; no changes to the PR implementation).Tested
XCL_ADAPTER=3090,XCL_REQUIRE_GPU=mesh; noXCL_SAMPLE_*inputs.cargo test --locked -p xcl --lib gpu_int_clamp -- --nocapture --test-threads=1: 0 passed, 3 failed, 0 ignored, 659 filtered out. Failures:v_add_nc_u16clamp,v_mad_u32_u16clamp, and signed64 MAD's scalar-destination sign.cargo test --locked -p xcl --lib gpu::recomp:: -- --test-threads=1: 186 passed, 0 failed, 18 ignored, 458 filtered out. This includes the three GPU clamp tests,int_clamp_hlsl_codegen, and the existinggpu_clamp_and_omod_per_instructionthat failed on our baseline.gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware. Rust includes these early returns among passes; they are not native-wave64 coverage.Not tested
Whole workspace on this integration, retail title/smoke, release build, AMD/native-wave64, or console-hardware verification of ISA semantics. These results validate the synthetic expectations on this Windows/DXC/driver combination.
AI use
Codex (GPT-6) assisted with source inspection, validation and report preparation. All results above were produced on the named Windows machine; no competing implementation proposed.
@tiagonogueiraa-bit on GitHub · 2026-11-24 14:05 UTC · original
CPU check of
6c6b000(no GPU): 516 VOP3 integer variants withCLAMP/OP_SEL, against a reference model. This is not a GPU test run. It complements the GPU reports above with an independent model and everyOP_SELcombination.How:
gpu::rdna2andgpu::recompfrom this PR's head on their own (macOS; DXC, D3D12 and the runner stubbed).CLAMP0/1 andOP_SEL0, 1, 2, 4, 8 and 15.main()as C++ on one lane, with 300 random and edge-value register sets per variant, and compared it with a reference model written from the ISA (the 16-bitOP_SELsource and destination halves included).Results:
930e8b4ignoresCLAMPonv_add_nc_u16,v_sub_nc_u16,v_add_nc_i16,v_sub_nc_i16,v_mad_u16andv_mad_i16: the result wraps. With this PR's head they saturate, and all 516 variants agree with the reference, including the high-half destination keeping the low half.v_mul_{u32_u24,i32_i24},v_mad_{u32_u24,i32_i24,u32_u16,i32_i16}, the SADs / MSAD,v_mul_lo_u16andv_add3_u32, the output matches saturating the exact result to the instruction's domain, which is what the description says.-mcpu=gfx1030, selectsllvm.{u,s}{add,sub}.sat.i16asv_{add,sub}_nc_{u,i}16 … clamp, as it does for the 32-bit forms. For the multiplies, MADs and SADs, the model only shows that the code does what the PR says. The hardware side rests on the sources the description cites.Written with Claude Code (Claude Opus 5.5). It built the harness, wrote the reference model and ran the checks above.
@upipibi on GitHub · 2026-11-24 22:41 UTC · original
A hardware data point against one line here. The
v_mul_lo_u16/ CLAMP=1 change makes the product saturate to0xFFFF. AnyPS5 measured this on RDNA2 hardware: gfx1036 through their HIP oracle, VOP3 forms ofv_mul_lo_u16,v_lshlrev/lshrrev/ashrrev_b16/i16andv_min/max_u16/i16, with and without the clamp bit, over their test rows, in wave32 and wave64. The clamp bit changed none of those results.v_mul_lo_u16with clamp keeps the low 16 bits of an overflowing product. On the same part,v_add_nc_u16with clamp does saturate, as this PR has it. That is recorded in boykopovar/AnyPS5'sdocs/dev/debt/shader.md("VOP3 16-bit integer binary clamp"), with the wave64 rows in boykopovar/AnyPS5#22615.So by that measurement, the add/sub/mad 16-bit saturation here is fine, but
v_mul_lo_u16should stay(a * b) & 0xFFFFwith clamp. I have no measurement ofv_pk_mul_lo_u16; it is a different (VOP3P) encoding. rocjitsu and LLVM describe the encoding; the AnyPS5 entry notes that the ISA table is only an encoding reference there.AI-assisted (Claude Code). Not run here.
@JJAutoCompare on GitHub · 2026-11-25 05:02 UTC · original
Tested
XCL PR #202 at
6c6b000705e518760026241c6e539d5b594db827, clean detached checkout on STOR-WINLAB. The PR was open at that head before and after the run. No equivalent same-head Arc A770 result was found in the PR conversation or the GPU results issue.Native Windows 11 Enterprise Evaluation 25H2 x64 (
26200.9974), Intel Arc A770 driver32.0.101.9175, AMD Ryzen 7 3800X, Rust and Cargo1.100.0(x86_64-pc-windows-msvc), debug test profile with debuginfo disabled, DXC and DXIL1.9.2609.5.cargo test --locked -p xcl --lib --no-runexited 0 outside the Arc lock. Build settings wereCARGO_BUILD_JOBS=2,CARGO_INCREMENTAL=0,CARGO_PROFILE_DEV_DEBUG=0, andCARGO_PROFILE_TEST_DEBUG=0, withCARGO_TARGET_DIR=L:/XclTooling/pr1778-2e2ee55-20261125-020159/targetandTEMPandTMPunderL:/XclTooling/pr202/temp.Under
& 'L:/XclTooling/Invoke-ArcTest.ps1' -Test { ... }, the prebuilt test executable ran once per fixture with--exact gpu::recomp::tests::<fixture> --nocapture --test-threads=1,XCL_ADAPTER=A770, andXCL_DXC_DIR=%LOCALAPPDATA%/XclTooling/dxc-1.9.2609/bin/x64. The fixtures compiled HLSL to DXIL with DXC and dispatched through D3D12. The Arc capability probe reported wave sizes 8–32, and all three fixtures reached their GPU readback assertions in wave32.gpu_int_clamp_16bitgpu_int_clamp_32bit_mad_mul_sadv_cvt_pkrtz_f16_f32gpu_int_clamp_carry_and_64bit3 passed, 0 failed, 0 ignored, 0 skipped. The Arc wrapper exited 0 and logged release of the lock. Build and run logs are in
L:/XclTooling/pr202.Not tested
Native or split wave64, direct DXIL emission, other adapters or drivers, console hardware, negative controls, the rest of the workspace suite, and retail-title smoke.
AI use
T3 Code / Codex (
gpt-6.2-sol) ran the tests and wrote this report.@DavidM1911 on GitHub · 2026-11-25 15:19 UTC · original
Verification on RTX 3060 Ti (Windows 11): merge conflict with current
main— needs a rebase before it can be tested.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.