Files
solidcraft/assets/shaders
austin62jakeandClaude Opus 5.5 a9fa61ce77 Viewport: the shader compiles in browsers again, so the web app's 3D view isn't black (#11080) (#11107)
* claim: #11080

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Viewport: the shader compiles in browsers again (#11080)

The ambient occlusion turn added in #9335 mixed `<<` and `|` without
parentheses. naga accepts that, so the desktop app ran, but browsers'
WGSL compiler refuses it: the sc_viewport module was invalid, every
pipeline built from it failed, and the web app drew nothing once a
design was open. The line gets its parentheses, and a test checks every
shader in the repository for the rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 13:46:45 +00:00
..