mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 16:48:37 +00:00
With LEONIDA_PC_TAIL_UBO=1, build.py and run_gpu_tests.py translate with --pc-tail-ubo, and the test programs (vk_compute_test, vk_store_test, vk_harness, vk_texture_test, vk_sampler_test, vk_bindless_test) declare and push 128 bytes and, when a stage declares set 1, bind the tail block there (runtime/test/vk_pc_tail.h: a host-visible buffer with one slot per dispatch or draw, bound as a dynamic uniform buffer). vk_harness refuses --mesh-compute with the flag (exit 77): mesh_compute_vs.py's vertex shader still reads its address from push constants. Without the variable nothing changes. Step 2 of the uniform-buffer tail claimed in #1902. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>