Repository navigation
list_x test: index buffers at addresses of the test's own - #224
Closed
BlestTerror wants to merge 1 commit into
Closed
BlestTerror wants to merge 1 commit into
BlestTerror wants to merge 1 commit into
Conversation
draw_indexed_x_routes_through_bind_and_restores_index_buffer bound index buffers at fixed addresses (0x1_0000_1000 ...). After gpu_sparse_vram_descriptors_buffers_and_xmem in the same process, memory is mapped there (its sparse VRAM windows), so the draw binds a copy of the indices and the test fails in a full serial run while it passes alone. The test now reserves 64 KiB of inaccessible address space and uses addresses inside it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011Qu7u1UaLUhn6MfAcvkdjG
This was referenced Nov 23, 2026
Contributor
Author
|
Duplicate of #222 (opened a few minutes earlier, same fix). Closing in its favour. |
Collaborator
|
Closing as a duplicate of #222 (merged), the same fix of the same test. Thanks! |
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.
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 Tests under Wine: Windows' own answers are checked only on Windows #213 handles.Not run on Windows here. Rebased on
af20b4b.🤖 Generated with Claude Code