upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorDANISBR1 <210478648+DaniSBR1@users.noreply.github.com>2026-11-21 17:45:43 -0600
committerDANISBR1 <210478648+DaniSBR1@users.noreply.github.com>2026-11-21 21:06:49 -0600
commitf577bf03182afe50d3cddbb1946016456d04695c (patch)
tree4102973e42fb0449e677edda9db95e00112d3a21 /runtime/test/gameinput_test.cpp
parent8df277fb035b384971497f6f9790f7fc4b9ec1d1 (diff)
vk_pipeline_check --stats: the driver's statistics for each translated shader
vk_pipeline_check <spirv dir> --stats FILE enables VK_KHR_pipeline_executable_properties, creates the pipelines with CAPTURE_STATISTICS and writes, for the executable that runs each translated shader (not the partner stub's), every statistic the driver reports as CSV rows name,stage,statistic,value. On RADV: instructions, VGPRs, SGPRs, spills, scratch size, waves per SIMD, and more. scripts/shader_stats.py <stats.csv> <disasm dir> [--details] compares them with the original RDNA listings: code growth, VGPRs against the highest VGPR the original uses, and which shaders use scratch or spill (a register file that went to memory, e.g. through v_movrels with an unbounded index). Over the corpus it says how many shaders compile badly. RX 5700 XT (RADV), the repository's test shaders: 47 pipelines, no scratch or spills in any. New tests/test_shader_stats.py (standard library only). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions