upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorAyinaki <ayinakidev@gmail.com>2026-11-22 15:23:55 +0000
committerAyinaki <ayinakidev@gmail.com>2026-11-22 15:23:55 +0000
commit3e38c9837787c43b5c8a73e44932bb29b3243be8 (patch)
tree0677c41ee61366b4245a8303109880435644ab2f /runtime/test/vk_queue_query_sync_test.cpp
parent89b047cd8fab50675a43d76722a6a8a881f55dc2 (diff)
rdna2spirv: bound structured nesting depth with the dispatch-loop form
spirv-val's structured-control-flow checking cost grows roughly with the cube of the nesting depth: over the 1.0.2.1 corpus the deepest block sits 118 constructs deep and about 85% of validation time is in modules nested 20 or deeper. cfg_structure.depth() measures the tree and a module deeper than MAX_STRUCTURED_DEPTH (16) is emitted in the existing flat dispatch-loop form instead, which emits the same blocks and only changes the routing. Depth 5-12 shows no gain, hence the bound at 16.
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions