Textures: require thick 3D mip-tail levels to fit within block depth #1614
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!1614
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1614"
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?
@OtavioTadeu on GitHub · 2026-11-24 18:15 UTC · original
OtavioTadeu:fix/tiling-thick-3d-mip-tail-depth-1488→main· +47 −11 · 1 files · 1 commits · openWhat is in it
XCL-BT-014(Part of #1488): track padded depth intiling::Chain::new_3dand include per-axis thick block depth bounds (td, halvingbh/bw/bdbyblk % 3) when selectingfirst_tailfor thick 3D layouts.thick_3d_mip_tail_respects_block_depthunit test covering 4 KiB and 64 KiB thick 3D mip chains and volume tile/detile round-trips.Tested
cargo test -p xcl --lib gpu::tiling: 15 passed, 0 failedcargo test --workspace -- --test-threads=4: 777 passed, 0 failed, 41 ignored (SKIPPED GPU tests:gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask[no wave64],gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware[no wave64],heap_window_out_of_memory_falls_back_to_the_switch_form[no heap windows])Regression run
scripts/smoke.ps1 -Game retail_title -Seconds 60(mainbaseline vs PR head on NVIDIA GeForce GTX 1660 SUPER):Not tested
AI use
@Anon64 on GitHub · 2026-11-24 18:23 UTC · original
Regression run for this PR: head
f2ba8f4, based onmain9e3831e. RTX 3060 12 GB (581.80, wave32), Windows 11 26200, release,XCL_NETWORK=0, A pressed every 4 s from 20 s,scripts/smoke.ps1on a retail title for 60 s, back to back with themainrun.main
9e3831e:this PR:
No device removals or crashes; 95 % of main's frames, 95 % of its peak commit.
Peak commit on this machine is mostly the pipeline preload's DXC compiles (#1035) and varies a lot from run to run, so it says little about this PR.
Not tested: the whole suite; whether the title reaches the changed code in these 60 s.
Written with Claude Code (Claude Opus 5.5) from runs on this machine.
@futurepro62 on GitHub · 2026-11-24 19:00 UTC · original
Full-suite run, since this PR has no test report yet. Tested exact head
f2ba8f4(on its base9e3831e).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form: 776 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.thick_3d_mip_tail_respects_block_depth.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4: 777 passed, 0 failed, 41 ignored. SKIPPED:heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows).heap_window_out_of_memory_falls_back_to_the_switch_formwas skipped with--skip. It fails on main9e3831etoo, not because of this PR: underXCL_REQUIRE_GPU=mesh,runner::skip_testturns every skip except "no wave64" into a failure, including this test's opt-in "no heap windows" skip (XCL_HEAP_WINDOWSunset). Reported as #1651.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 20:30 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored.Thanks!
@throny on GitHub · 2026-11-25 00:15 UTC · original
Two contributors checked independently and found that #1624 solves the same problem (for #1488) in a different way: #1607, group D50. You may want to compare them with the other author and agree on one, or say in the PR why both are needed.
This is a hint from the community triage in #1607, not a maintainer decision.
AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.
@JJAutoCompare on GitHub · 2026-11-25 05:02 UTC · original
Focused Windows verification of XCL PR #1614
Tested head
f2ba8f443a022677f74632a4170e28c4079e8f2eon a clean, detached checkout. The PR changes onlycrates/xcl/src/gpu/tiling.rs.Tested
cargo build --workspacesucceeded.cargo test --workspace --no-runcompiled all workspace test targets.cargo test -p xcl --lib gpu::tiling::tests:: -- --nocapture— 15 passed, 0 failed, 0 ignored, 0SKIPPEDlines.cargo test -p xcl --lib gpu::texture::tests:: -- --nocapture --skip gpu::texture::tests::gpu_ --skip gpu::texture::tests::one_dimensional_arrays_ignore_tsharp_height_for_linear_and_tiled_layouts --skip gpu::texture::tests::non_array_2d_ignores_tsharp_depth_for_linear_and_tiled_uploads --skip gpu::texture::tests::retail_ttpf_textures_detile_with_their_mip_chains— 7 passed, 0 failed, 0 ignored, 0SKIPPEDlines.XCL_ADAPTER=NONE_CPU_ONLYand ran outside the Arc mutex, as did workspace compilation. Parsed totals frompr1614-focused.logwere 22 passed, 0 failed, 0 ignored, and 0 lines beginning withSKIPPED.The new regression test used thick 3D chains with 64 KiB and 4 KiB tiles. In both cases, mips 0 and 1 exceeded the block depth and stayed outside the tail, while mips 2 and 3 entered it. After tiling all four mips into the same allocation, detiling each mip recovered its original bytes. Existing CPU tests also covered non-overlap for other volume layouts and mipped array subresources.
Not tested
Execution was limited to focused CPU texture and tiling tests, alongside full workspace compilation. The full workspace GPU suite, GPU texture uploads, retail texture data, and title smoke runs were omitted.
AI use
T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1614-focused.logand published.github-bot referenced this pull request2026-11-26 06:18:30 +00:00
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.