upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorTyrannys <80750971+Tyrannys@users.noreply.github.com>2026-11-27 13:38:27 -0600
committerTyrannys <80750971+Tyrannys@users.noreply.github.com>2026-11-27 13:38:27 -0600
commita23273b5c0bd4055974fb2f000f233dc838733e7 (patch)
tree7f5c2f6689a015473b6f36d2bb648c46969bde45 /runtime/src/thread_stacks.cpp
parent43a9d562d355e7c5c428e486071b456353de8b05 (diff)
d3d12_xs: CreateSamplerX writes through, and mapped heaps take bound tables
Two gaps in mirroring title-backed descriptor heaps on the Xbox console path: - Xbox device slot 61 (CreateSamplerX) created the sampler in the real heap only. Every other descriptor creator and copier also stores the result at the title's address (local_write_through), so a title that copies samplers out of its own heap memory read zeros. Slot 61 now writes through as slot 22 does. - local_mirror_table, run when a descriptor table is bound (list slots 35/36), checked the real range with VirtualQuery even when it is a mapped range. Wine can report a live vkMapMemory span as MEM_FREE, so on Wine the table was never mirrored. It now skips the check for a mapped range, as local_write_through does. From kevincommits' finding in #1608 (item 2). xs_proxy_mock_test gains check_descriptor_mirror, with the mock's real heap pointed at memory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions