D3D12.X: clamp translated sampler LOD bias #1384
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!1384
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1384"
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?
@hajduzsolt on GitHub · 2026-11-24 15:28 UTC · original
hajduzsolt:fix/sampler-lod-bias→main· +19 −1 · 1 files · 1 commits · openWhat is in it
Tested
cargo test -p xcl --lib sampler_lod_bias_stays_within_d3d12_limits: 1 passed.cargo test --workspace -- --test-threads=4 --nocapture: 752 passed, 0 failed, 41 ignored. The reported passes include tests that returned early.test_title_draws_with_a_root_signature_under_the_debug_layeranduploads_start_from_each_subresources_state, because the D3D12 debug layer is unavailable.Regression run
main:
PR:
Not tested
AI use
@futurepro62 on GitHub · 2026-11-24 15:34 UTC · original · edited 2026-11-24 15:36 UTC
Full-suite run, since this PR has no test report yet. Tested exact head
e15ddb2(on its base930e8b4).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 752 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.sampler_lod_bias_stays_within_d3d12_limits.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4: 752 passed, 0 failed, 41 ignored, no skips.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 16:55 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored.Thanks!
@afpruivo on GitHub · 2026-11-26 12:18 UTC · original
Tested
e15ddb2on an RTX 3090, as part of a batch merged ontomainb49be18: no failures, no regression.e15ddb2, #15946ea563b, #162139788e8, #165369f70c1. They touch no common file and merged cleanly ontob49be18(local commit1e3fb07). Check posted in #1607: B21, #1607.cargo test --workspace -- --test-threads=4(debug): 1,439 passed, 0 failed, 47 ignored. 26SKIPPEDGPU tests, mostly no wave64 on this card; they are not coverage.scripts/smoke.ps1, 60 s, retail 1.0.2.1 (title: 3c290c16), release. Peak commit was lower on the batch.mainb49be181e3fb07sampler_d3d12, so comparison and plain samplers both get it, and the new test covers the edges on both sides (0x2000–0x2fffto the minimum,0x0ffe–0x1fffto the maximum).Not tested: a run that reaches this change on purpose (the smoke title only shows that nothing regresses); AMD.
AI use: Claude Code (Claude Opus 5.5) ran the commands on my machine and drafted this. Checked by me before posting.
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.