diff options
| author | undeadhuman37 <undeadhuman37@users.noreply.github.com> | 2026-11-22 11:39:28 +0300 |
|---|---|---|
| committer | Hamza <hamzasherifhassanein@MacBook-Neo.local> | 2026-11-22 13:45:36 +0300 |
| commit | c4e8c34b6347511f1eefee939f97a6d697d15d92 (patch) | |
| tree | ad5b923cc47cea6ed1641a8cf901bb00ba1d5b89 /runtime/src/pe_loader.cpp | |
| parent | f85582e23d4ab9e19acbf694358f137d6b8531b1 (diff) | |
tools: spirv_metal_set0.py gives set 0 fixed Metal argument-buffer IDs (SHADER-161)
SPIRV-Cross 1.4.363.0 puts every runtime descriptor array of an argument
buffer at one ID and comments all but one out as "Overlapping binding", so a
native Metal shader can't reach set 0's images or samplers. The tool sizes the
runtime arrays from runtime/src/vulkan_bindless.h and moves each binding to
its own ID range, for spirv-cross --msl-decoration-binding. The Vulkan module
and layout are unchanged. All 17 set-0 test shaders convert with no overlap
and compile; cs_imgstore writes all 3x64 texels correctly in a native Metal
dispatch on an Apple A18 Pro.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions