upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorNiiRoZz <simonin.remi25@gmail.com>2026-11-22 19:49:11 +0100
committerNiiRoZz <simonin.remi25@gmail.com>2026-11-22 19:49:11 +0100
commitf12da53a58e46a56ddf1cdf9e8f4adf95f5d775d (patch)
treef79beb2e9b5cd40c9dbff98d40448cc24798d3aa /runtime/src/pe_loader.cpp
parentec8ec4c9a46c6623f1a9c125afd3566da97f1e0c (diff)
D3D-329: measure where the descriptor-heap base reaches a heap-indexing shader
tools/heap_index_census.py follows every descriptor-width scalar load back to the SGPRs it starts from (entry SGPR, constant, loaded pointer) per stage and SFI0 heap-indexing class, and prints counts only. Over the 1.0.2.1 corpus, 99.86% of 770,412 descriptor loads start from an entry SGPR used as a 32-bit pointer, none from a loaded pointer; heap-indexing shaders add a base read with a run-time offset, and the stride is compiled into the offsets. docs/d3d12_vulkan.md records the result in section 3.4 and the direct heap indexing bullet: user data for compute (COMPUTE_PGM_RSRC2 USER_SGPR), below s32 for the graphics stages whose user count is not measured yet. tests/test_heap_index_census.py covers it on hand-written listings and containers (no game files). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions