diff options
| author | undeadhuman37 <undeadhuman37@users.noreply.github.com> | 2026-11-22 13:07:16 +0300 |
|---|---|---|
| committer | undeadhuman37 <undeadhuman37@users.noreply.github.com> | 2026-11-22 13:07:16 +0300 |
| commit | 471d1d48bb3e339794922f7d17cb64034b46de6a (patch) | |
| tree | e9e9b3a54bcf8aff39eff66c68dca50c536518c9 /runtime/src/pe_loader.cpp | |
| parent | c0ac5fd6518b3ba9fa66765b8b07099990dadd74 (diff) | |
Translator: copy mesh clip/cull distances one float at a time (SHADER-155)
SPIRV-Cross 1.4.363.0 turns the whole-array OpStore of ClipDistance into the
mesh per-vertex output into a C array assignment, which Metal rejects
("array type 'threadgroup float[1]' is not assignable"). Copying each element
gives the same result on Vulkan and compiles on Metal: ms_clip draws its
expected 2048/4096 pixels in a native Metal mesh draw 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