upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorDadaCap <167002618+DadaCap@users.noreply.github.com>2026-11-26 00:44:13 +0100
committerDadaCap <167002618+DadaCap@users.noreply.github.com>2026-11-26 00:44:13 +0100
commita1df1713d49f06556eeb26b8015cce2841951c5c (patch)
treefa40538d01a1f29358a0423980159a98c1d17da2 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parent33bd07cf86bb42236635c27341359b3fe841d1d5 (diff)
d3d12: LEONIDA_TITLE_PARTIAL_MIPS fills the readable smaller mips of a title texture whose larger ones are not there
The XG layout of a 2D texture of one slice stores its mips from the smallest to the largest, so the mips from m on are a prefix of its footprint (mip_chain_bytes). With LEONIDA_TITLE_PARTIAL_MIPS=1 the readability probe returns the readable prefix (texture_memory_readable_bytes), first_mip_within the first mip it holds; when the last slot-70 view starts there or later, those mips are filled and only the T#s of views that start there or later are published. The others stay on the fallback until a later fill has their mips. A texture not filled, or filled in part, whose pages came through a map change is marked stale so the next pass fills it. Off by default: the image still has memory for every mip. LEONIDA_TITLE_PARTIAL_MIPS_MB (2048) bounds the image memory of the textures filled in part. Unset, the behaviour is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gt9hwRYcpySx4P4ncQ3wD5
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions