upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/d3d12_vulkan.md
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-26 18:41:24 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-26 18:41:24 -0500
commit3cc0e9e5f4e324d6d2a85f9481e1c5717db43273 (patch)
tree5f9f40d59d2fda1c50c34f55d0c64fea5e4839d6 /docs/d3d12_vulkan.md
parent1f2eac9c485daad01ded06588dde8926e0962f0c (diff)
parentd94b6c33b2f8b2af87091cf9908c39fbc64156a5 (diff)
Local test merge: rewritten V# halves answered by a waiting record; T#s in the title's 32-bit form wait under our address (d94b6c33b)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_vulkan.md')
-rw-r--r--docs/d3d12_vulkan.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/d3d12_vulkan.md b/docs/d3d12_vulkan.md
index 510a3b054..d150a2e20 100644
--- a/docs/d3d12_vulkan.md
+++ b/docs/d3d12_vulkan.md
@@ -2176,6 +2176,20 @@ The game can use D3D12 descriptors in three ways, and the layer must handle all
2176 waiting slots, a texture made after the T# was written, at the first submission after it appears. T#s are a third 2176 waiting slots, a texture made after the T# was written, at the first submission after it appears. T#s are a third
2177 index of the same kind, keyed by their address: a texture change visits exactly the T#s recorded for that address, 2177 index of the same kind, keyed by their address: a texture change visits exactly the T#s recorded for that address,
2178 and the records waiting for room are kept in a list per kind, which a change saying room was made visits whole. 2178 and the records waiting for room are kept in a list per kind, which a change saying room was made visits whole.
2179 The title rebuilds T#s of the layer's textures from 32 bits: the unbound T#s of one world run named 0x7f0000021400
2180 for the layer's 0x100021400, and 0x2ef600 for 0x1002ef600 (bits 32-39 clear, 0x7f or 0 in bits 40-47). Such an
2181 address outside the title's memory names the layer's texture with the same low 32 bits (`tsharp_texture_key`,
2182 while fewer than 2^24 texture addresses were handed out): `bind_title_image` looks it up there, and the T# waits
2183 under that address, where the texture's creation is announced. Before, such T#s waited under the title's form,
2184 which no arrival names, and the run showed no refill at all; `d3d12_tsharp_refill_test` writes both forms before
2185 the texture exists and expects them bound at the first submission after it appears.
2186 A V# the title rewrote whose range another half of the heap waits for is answered as that half was
2187 (`ConsoleHeapSlotRecords::waiting_answer`), without walking the alias table, backings, geometry copies and title
2188 memory again: a waiting record is fixed again by every change that could let it resolve, so while it waits its
2189 answer stands. The changes noted since the submission's list was taken are applied to the heap first
2190 (`sync_slot_changes`), and the submission's own changes before the rewritten slots, so an answer is never older
2191 than a change that concerns it. In one world run 70% of the 2,100 rewritten V# halves a submission resolved to
2192 nothing at about 9 µs each.
2179 Console resource heap copies and shader-visible CBV/SRV/UAV heaps with at least 65,536 slots request 2193 Console resource heap copies and shader-visible CBV/SRV/UAV heaps with at least 65,536 slots request
2180 64 MiB of zeroed padding after their last descriptor. `LEONIDA_HEAP_GUARD_MB` sets the padding in MiB 2194 64 MiB of zeroed padding after their last descriptor. `LEONIDA_HEAP_GUARD_MB` sets the padding in MiB
2181 (0 disables it). When arena space is tight, allocation can fall back to the heap alone. Only indices 2195 (0 disables it). When arena space is tight, allocation can fall back to the heap alone. Only indices