upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorJackson <37029272+NinJackson@users.noreply.github.com>2026-11-23 11:16:28 -0500
committerJackson <37029272+NinJackson@users.noreply.github.com>2026-11-23 11:16:28 -0500
commitae322dafc560f07f839be457e3ba6b68bcbf83c8 (patch)
tree66111d15673965cb0bc2db1a6c04fd2410a6b162 /runtime/src/main.cpp
parent28766ea6f875a65207afe60e01cac3debe5cdbd5 (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>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions