upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/bcpack.cpp
diff options
context:
space:
mode:
authorExCorvus <73470689+ExCorvus@users.noreply.github.com>2026-11-24 01:29:22 +0100
committerExCorvus <73470689+ExCorvus@users.noreply.github.com>2026-11-24 01:29:22 +0100
commitf9c68577e3c640f2f1dbd4c7b19036eaf3cbd2a4 (patch)
treed72e59ad7b0a2f977293cb16160a3b9d25ed218c /runtime/src/bcpack.cpp
parenta7ffc53c152aa725d9823655661a9e8cfd2d2a63 (diff)
d3d12: slot 133 textures answer GetGPUVirtualAddress with the title address
A retail title places a 256x256 R32_FLOAT texture through Xbox device slot 133 and then clears it through the value GetGPUVirtualAddress returns, used as a CPU pointer. The layer answers 0 for a texture, as D3D12 does, so the title wrote 256 KB at address 0. XCL measured the same clear and returns the address the title placed the resource at (its PR #168). A slot-133 placed texture still gets its committed fallback image, but records the title address and reports it from GetGPUVirtualAddress. Ordinary textures still answer 0 and buffers are unchanged. The pixels do not alias the title's pages yet, so a write through the address is not uploaded; that is the page-mapper work and is called out in docs/d3d12_vulkan.md. Tests: d3d12_existing_heap_test checks that the RENDER_TARGET layout and the COMMON retry both answer the title address; it exits 0, and gta6rt links. AI-assisted: DeepSeek V4.1 Flash 1017 (Alibaba Token Plan); coordinated by Qwen4 Max Preview.
Diffstat (limited to 'runtime/src/bcpack.cpp')
0 files changed, 0 insertions, 0 deletions