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:04:52 +0300 |
| commit | 93f81fd9590891cdcd1443ac9158caeac11977b7 (patch) | |
| tree | d102c72af64255bba0f338fb4e2aa5abcae459ce /runtime/src/pe_loader.cpp | |
| parent | c0ac5fd6518b3ba9fa66765b8b07099990dadd74 (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