c68cf96488
Build and Deploy / build-and-push (push) Failing after 43s
Without this setting, wgpu's naga SPIR-V→GLSL translator uses features unsupported by ANGLE (Chromium's WebGL2 implementation): storage buffers, tight inter-stage component limits, etc. ANGLE rejects these shaders with a fatal "Shader translation error" and a context-lost event. WgpuSettingsPriority::WebGL2 constrains naga to emit GLES 300es-compatible GLSL (same limits as WebGL2 spec: no storage buffers, max 31 inter-stage components, max 255-byte vertex stride). Firefox was already permissive enough to work without this; Chromium required it. Result: game renders correctly in both Chromium (ANGLE/SwiftShader) and Firefox (native WebGL2), with zero JS errors in both environments. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
55 MiB
55 MiB
The file is too large to be shown.
View Raw