list_x test: index buffers at addresses of the test's own #221
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/224"
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?
Imported from ivall/xcl. Originally posted by BlestTerror on 2026-11-23T21:18:51Z.
draw_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
Imported from ivall/xcl. Originally posted by BlestTerror on 2026-11-23T21:21:20Z.
Duplicate of #222 (opened a few minutes earlier, same fix). Closing in its favour.
Imported from ivall/xcl. Originally posted by ivall on 2026-11-23T21:24:31Z.
Closing as a duplicate of #222 (merged), the same fix of the same test. Thanks!
Pull request closed