Repository navigation
Conversation
CreateSamplerX made every sampler anisotropic, so point samplers filtered linearly. The desc has the filters at +4 / +8 (magnification, minification), +0xC (z) and +0x10 (mip), numbered as in an S#. Of the 30 different descs a retail title makes up to its first screen, 5 are point (2 2 1 1), 17 bilinear (1 1 1 2, 1 1 2 2) and 8 anisotropic (3 3 2 2; one of them with a maximum of 1). None has a comparison function. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CreateSamplerX gave every sampler a transparent black border. The desc has the colour at +0x44: of a retail title's 9 descs with border addressing, one asks for opaque black and one for white. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
…l-dev#1887 (DispatchMesh indirect arg 107)
There was a problem hiding this comment.
I reviewed b76c075450a3bee4d4d27ad6e9de06d0e308f933. With maximum anisotropy set to one, I crossed four minification encodings, four magnification encodings and three mip encodings. All 48 descriptors selected the expected named D3D12 filter. All four border components retained their input bits, including negative zero. The PR’s tests also exercised maximum anisotropy eight. I found no actionable defect in the descriptor conversion I exercised.
I ran the independent batch002_samplers fixture and the console_samplers_ filter separately with cargo test --offline --locked -j 1 -p xcl --lib <filter> -- --test-threads=1 --nocapture. Across those runs, 3 passed, 0 failed, 0 ignored, and 0 skip notices. Windows 11 build 26200.9974, Ryzen 7 5800X, RTX 3080 driver 616.92, debug MSVC Rust 1.100.0. These CPU-side assertions examined the constructed descriptors. Rendered pixels and console image parity were outside the test.
Codex (GPT-6) traced descriptor creation, wrote the independent matrix and checked the results.
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
PR #1885 — Intel Arc A770 verificationTested commit Environment STOR-WINLAB, Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X. Intel Arc A770 16 GiB, driver 32.0.101.9175, wave range 8–32, Tested
Failures and skips
Not tested GPU rendering via AI use T3 Code / Codex ( |
CreateSamplerX(device #61) made every sampler anisotropic with a transparent black border, whatever the desc asked for: point samplers filtered linearly, and opaque black and white borders were lost. Both fields are in the console desc and are now taken from it.What is in it (
crates/xcl/src/hle/d3d12x/device_x.rs)pc_sampler_desc, so that it can be testedA maximum anisotropy of 1 gives no anisotropic filter. Anisotropic point (2) is point, as #1117 reads it in an S#.
Tested
cargo test --workspace -- --test-threads=4: 961 passed, 0 failed, 43 ignored. SKIPPED lines: 18 no wave64, 1 no heap windows, 3 per-lane f16 refusalsconsole_samplers_keep_their_filter,console_samplers_keep_their_border_colourRegression run
main:
PR:
Not tested
HANDOFF.mdsays "#61 CreateSamplerX (0x6C-byte desc → anisotropic PC sampler)": no longer true for every sampler.AI use
🤖 Generated with Claude Code