diff options
| author | undeadhuman37 <undeadhuman37@users.noreply.github.com> | 2026-11-22 13:07:16 +0300 |
|---|---|---|
| committer | Hamza <hamzasherifhassanein@MacBook-Neo.local> | 2026-11-22 13:45:36 +0300 |
| commit | b46bdc425ed302584cda687ffb29db276eb00732 (patch) | |
| tree | 4e588d1f648e63d3affa0e61c9242021a7a61870 /runtime/src/pe_loader.cpp | |
| parent | f85582e23d4ab9e19acbf694358f137d6b8531b1 (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