upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorPavel Kotek <334189328+kotekompotek@users.noreply.github.com>2026-11-23 21:14:23 +0500
committerPavel Kotek <334189328+kotekompotek@users.noreply.github.com>2026-11-23 21:14:23 +0500
commit094e36f5f92069aed8d63a096a59b7f95e0e8860 (patch)
tree65e1fe17aa1973365790e49cf1b3dcd25e307efb /runtime/src/thread_stacks.cpp
parent8575d36edc479218972497a7bded8651a42856c0 (diff)
spirv_gs_to_compute: shift capture bindings past existing set 1 bindings (--pc-tail-ubo)
When a geometry shader translated with --pc-tail-ubo reads the heap base or code base, rdna2spirv.py binds %pc_tail as a Uniform block at (DescriptorSet 1, Binding 0). Lowering that module to compute with tools/spirv_gs_to_compute.py previously hardcoded %gsc_in, %gsc_rec, and %gsc_meta at (DescriptorSet 1, Bindings 0..2), leaving both %pc_tail (Uniform) and %gsc_in (StorageBuffer) at (set 1, binding 0) in violation of VUID-VkPipelineLayoutCreateInfo-descriptorType-07990. Inspect existing DescriptorSet 1 bindings in the input module, place %gsc_in, %gsc_rec, and %gsc_meta starting after the highest used binding (recording base_binding in the layout dict when nonzero), and add synthetic and end-to-end rdna2spirv --pc-tail-ubo regression tests. # Conflicts: # tests/test_spirv_gs_to_compute_bounds.py
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions