upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/xma2_decoder.cpp
diff options
context:
space:
mode:
authorBubsMcgee <alexbraden99@gmail.com>2026-11-25 14:50:17 -0500
committerBubsMcgee <alexbraden99@gmail.com>2026-11-25 14:50:17 -0500
commit194265665cda15e2f74c166d84fcd7c018fcb8ca (patch)
treebd61a4eccb4ee1e593587ce6766bad5791face91 /runtime/src/xma2_decoder.cpp
parent9f9a7c5f30f8559c52675780cf84004571b8d6e5 (diff)
d3d12: one guarded copy per run of adjacent written geometry tiles (RT-GEOMETRY-READBACK-RUN-MERGE)
A GeometryViews refresh reads each written 64 KiB tile with its own readability probe and guarded copy, even when the title wrote a run of adjacent tiles across tile boundaries. Group the written tiles (already in address order) into maximal runs whose addresses differ by one tile and read each run a ready view needs as one guarded copy; the per-tile pass then reuses those bytes through read_tile(). A run that cannot be read whole falls back to the per-tile read, so an uncommitted page still zeroes only what it did before. Same behaviour as DexNom/VIctory's copy_fetch_runs (crates/victory-gpu/src/host.rs, GPL-3.0-or-later, commit 570a941), re-implemented for this header; no identifiers or code copied. Tested: geometry_views_test 14/14, including the new case (two adjacent written tiles are one 128 KiB copy); gta6rt_d3d12_com builds. Synthetic only, no game files or GPU. AI-assisted.
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions