Repository navigation
Conversation
Contributor
|
Independent AMD RDNA4 (native wave64) test report on exact head Tested
Regression run (60 s retail-title smoke, (Matched Not tested
AI use
|
…xcl-dev#2380) `slot` already maps a hosted sampler heap's slots past the shared range to reserved slot 0, but a hosted CBV/SRV/UAV heap fell back to index 2*k of the shared heap: another heap's views, or the memory windows' raw views at MEM_HEAP_BASE, which hang the GPU when read as a texture. A hosted view heap now takes the null SRV / UAV pair at 0 / 1 (`null_views`); unhosted heaps keep their own pair at 2*k. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Creaa
force-pushed
the
d3d12x/hosted-view-overflow-null
branch
from
November 25, 2026 18:37
b21afe2 to
698e755
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
console_heap::slotalready maps a hosted sampler heap's slots past the shared range to reserved slot 0 (sampler_unmapped_index), but a hosted CBV/SRV/UAV heap fell back to index2 * kof the shared heap. There that can be another heap's views or the memory windows' raw views atMEM_HEAP_BASE, which hang the GPU when read as a texture (zero_tsharp_does_not_reach_window_views). A hosted view heap now takes the null SRV / UAV pair at 0 / 1 (null_views); unhosted heaps keep their own pair at2 * k. Fixes #2380.What is in it
crates/xcl/src/hle/d3d12x/console_heap.rs:view_unmapped_index(hosted, k)besidesampler_unmapped_index, used for the view fallback inslot; testhosted_view_slots_past_the_shared_range_take_the_null_pair.Tested
cargo test -p xcl --lib console_heap: 13 passed (with D3D12.X: coalesce released shared sampler ranges and fix view/census checks in console_heap #2261's new tests).cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4: 1344 passed, 1 failed, 46 ignored (rebased ontomain22b6222, after D3D12.X: coalesce released shared sampler ranges and fix view/census checks in console_heap #2261's changes to the same file). The failure,gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier, fails the same way onmain(3 of 3 runs on68a284a) and is outside this change. SKIPPED: the wave64 GPU tests (no wave64), the direct-DXIL cases refused per gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426,heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows),pso_measurement_compiles_an_exact_synthetic_record(Developer Mode is off), and the two debug-layer tests (no D3D12 debug layer installed).Regression run
main:
this PR:
Not tested
AI use
🤖 Generated with Claude Code