diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-29 18:01:44 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-30 01:27:55 -0400 |
| commit | 18b35b020ef754716f574e6311c651f76f6a8a42 (patch) | |
| tree | 57378d38640e15556267011b453195998d0d65e8 /src/core/memory.cpp | |
| parent | d56039ace99338293658f931a871e4dba203e3ab (diff) | |
nx2: support mapping modify so NVN2 places compressible textures
NVN2 gives a texture in a compressible memory pool its GPU address only
after NvRmGpuMappingModify switched the pool's mapping to the texture's
kind. NvRm fails that call unless the GPU characteristics report
NVGPU_GPU_FLAGS_SUPPORT_MAPPING_MODIFY, so such textures kept address 0
and draws into them went nowhere: title 1's cup-opening movie stayed on
its first frame (also its 640x360 and 512x512 passes).
Report the flag and answer the request nn::gpu::sdk then sends, gpu
sub-session 212 (NormalModifyMemoryKind4K), with the wanted kind and a
signalled job slot. The movie now plays on screen and the race follows.
Diffstat (limited to 'src/core/memory.cpp')
0 files changed, 0 insertions, 0 deletions
