upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/queue_proxy_test.cpp
diff options
context:
space:
mode:
authorTyrannys <80750971+Tyrannys@users.noreply.github.com>2026-11-27 20:11:24 -0600
committerTyrannys <80750971+Tyrannys@users.noreply.github.com>2026-11-27 20:11:24 -0600
commit59feb165bd053426302f89b8dda6ffc90847c153 (patch)
tree3201950025a74642438fe863253ffde82c9b0519 /runtime/test/queue_proxy_test.cpp
parenta23273b5c0bd4055974fb2f000f233dc838733e7 (diff)
d3d12_xs: leave a mapped descriptor range to the queue's pull at submission
From timbot103's review of #2498. A mapped real range is the Vulkan device's live arena: shaders of lists already submitted read it, and the queue rewrites the slots it pulls there in place (title buffer addresses rebased) when it submits. local_mirror_table copied the title's raw slots into it while a list was being recorded (SetGraphicsRootDescriptorTable / SetComputeRootDescriptorTable), which could overwrite a translated slot an earlier submission was still reading. The first commit of this PR made that happen on Wine as well; on Windows, where VirtualQuery reports the arena as accessible, main already did it. local_mirror_table now leaves a mapped range alone. The queue pulls the title's slots of every bound table itself at submission (pull_title_descriptors through title_va_aliases), which needs no VirtualQuery of the arena, so Wine loses nothing. xs_proxy_mock_test, check_descriptor_mirror case 2: with a translated value in the real slot, binding a table over it (graphics and compute) leaves the slot as it was, and the submission-time pull then takes the title's slot. The previous commit fails the first of these checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions