upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 06:00:30 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 06:00:30 -0500
commit6f36d1400297d44151e5b078248cdf15c7b98211 (patch)
treeb3aff811c12549ea05a7381a222f85610972882b /runtime/src/pe_loader.cpp
parenteedc7c8db98f26a0cf23d3593bb2eb39fe47d491 (diff)
d3d12: inline table V#s nothing backs become zero-size, as console heap slots
d3d12_title_va failed at line 502 and d3d12_unmapped_vsharp at line 191: a V# the CPU writes into a bound table of a layer heap, naming an address nothing backs (an unknown high address, a view past the end of a real buffer), kept its base after the table scan, so a shader would add heap_base to it and fault. The tests were right. #1723 added fix_vsharp, which rebases a V# into the title's memory and writes one with no GPU backing as zero-size, and gave it an "inline table" path (VsharpPath::table), but only the console heap copy calls it; scan_title_table still called rebase_title_vsharp, which leaves an unbacked base as it is, and only the slot's first V#. scan_title_table now runs fix_vsharp on both V#s of each slot (the second is a UAV's counter), as fix_console_slot does. With line 502 passing, the rest of d3d12_title_va runs again, #1539's check_declined_imports and check_import_over_shadow (run by d3d12_geometry_views) included. The same executable's d3d12_api_descriptor_copy and d3d12_rebound_* registrations stopped at line 502 too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions