diff options
| author | Roberto0953 <131179700+Roberto0953@users.noreply.github.com> | 2026-11-22 14:03:22 +0100 |
|---|---|---|
| committer | Roberto0953 <131179700+Roberto0953@users.noreply.github.com> | 2026-11-22 14:03:22 +0100 |
| commit | 0f183fcafd0c1497bebecf5d5b9d664484f36c18 (patch) | |
| tree | 4d334bebfb4b43400d1c7248d40c70b673aa2043 /docs/d3d12_command_objects.md | |
| parent | 41f448261e1de8a410b4d760e69a7e5656cef858 (diff) | |
Tools: user-SGPR census per stage (evidence for d3d12_vulkan.md 3.5)
tools/user_sgpr_census.py (standard library only) reads spirv/index.json
(user_sgpr_reads from tools/shader_meta.py) and reports, per stage: the
lowest user SGPR read as a pointer, pointer width (ptr32_lo vs ptr64), the
distance between consecutive pointer SGPRs, how the SGPR after a 32-bit
pointer is read, and reads below a given stage base. --expect stage=sgpr
turns the result into a check.
docs/d3d12_vulkan.md 3.5: the measured counts next to the current packing
description. Physical SGPRs only; no packer change.
Tests: tests/test_user_sgpr_census.py builds both packing models by hand
and checks they are told apart, plus a failing --expect.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_command_objects.md')
0 files changed, 0 insertions, 0 deletions