aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/texture_cache.h
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 01:03:37 -0500
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 15:18:01 -0500
commit40902b09c7b86de7cf12f26839241f26925d04b5 (patch)
tree1a0403bb25a8ab44f37e270564fb4a105ed1e6b9 /src/video_core/texture_cache/texture_cache.h
parent81746294f8114f93d82de1e1984b00d0194f25ba (diff)
nx2: leave unwritten sparse blocks without memory when they get zeros
Title 1 clears about 1 GB of its sparse regions at boot through the GPU memory manager. Every block the clear touched got 4 MiB of guest memory, which the clear itself then committed on the host, and counted as written, so the texture cache gave the images over it device memory too. A block nobody wrote reads zero already: when the part of a write that lands on it is all zero, leave it as it is. (cherry picked from commit 0d7ff63fd1a373cecff6ba91022c9027e801e53f)
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
0 files changed, 0 insertions, 0 deletions