upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorJackson <37029272+NinJackson@users.noreply.github.com>2026-11-23 11:16:28 -0500
committerMumogg <104529023+Mumogg@users.noreply.github.com>2026-11-24 03:47:22 -0600
commite090be908ded3ebe84a04702e6690bd98d2cefe7 (patch)
tree7f5675c71e7841492575b48cdcd1db8ffabb76d8 /runtime/test/vk_queue_query_sync_test.cpp
parent8eaccded7f8ea0292046f097d934f73015e3c670 (diff)
d3d12_xs: committed resources lease their size through the title's XMem hooks (RT-5 stop 17)
On the console a committed resource's memory is allocated with XMemAlloc, so it goes through the title's __XMemAllocationHooks__. The retail title budgets its first full-screen render targets with a per-thread hook that bump-allocates out of a range it reserved and asserts that less than 2 MiB is left; PC resources never allocated through the hooks, so the assert always fired. Slots 76 and 127 now allocate the slot-25 size of each resource through the hooks, held by the resource with SetPrivateDataInterface and freed when it is destroyed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit ae322dafc560f07f839be457e3ba6b68bcbf83c8) Adapted to main by Mumogg: the lease size is the later form of this series (d61755d4d, a render target's console tile size, else the PC size), since console_render_target_extra is gone after 359390833.
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions