list_x test: index buffers at addresses of the test's own #224
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!224
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/224/head"
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?
@BlestTerror on GitHub · 2026-11-23 21:18 UTC · original
BlestTerror:tests/draw-indexed-x-order→main· +17 −6 · 1 files · 1 commits · closed without mergingdraw_indexed_x_routes_through_bind_and_restores_index_bufferbound index buffers at fixed addresses (0x1_0000_1000…). Aftergpu_sparse_vram_descriptors_buffers_and_xmemin the same process, memory is mapped there (its sparse VRAM windows), sogpu_vasees a readable address outside unified memory, the draw binds a copy of the indices, and the test's firstBufferLocationassertion sees the copy's address. The test passes alone and fails in a full serial run (reported by @Kalmarv in #213; the culprit found by bisecting the 319 tests before it). Nothing Wine-specific: the same order should fail on Windows.The test now reserves 64 KiB of inaccessible address space (
VirtualAlloc(MEM_RESERVE, PAGE_NOACCESS)), uses addresses inside it, and releases it at the end.Wine 11.20, RTX 4060, cross-built
x86_64-pc-windows-msvc:gpu_sparse_vram_descriptors_buffers_and_xmemthen this test: fails onmain, passes here (rechecked onaf20b4b);--lib --test-threads=1(on6da33fa): 579 passed, 3 failed, the three Wine host differences #213 handles.Not run on Windows here. Rebased on
af20b4b.🤖 Generated with Claude Code
@BlestTerror on GitHub · 2026-11-23 21:21 UTC · original
Duplicate of #222 (opened a few minutes earlier, same fix). Closing in its favour.
@ivall on GitHub · 2026-11-23 21:24 UTC · original
Closing as a duplicate of #222 (merged), the same fix of the same test. Thanks!
Pull request closed