This reverts commit 3229c4fa2c.
3229c4fa2c
All specialization constants are removed (they cause trouble in WebGPU, since they don't support array sizing, and it was a pain in Metal anyway) - they are now macro defined. WebGPU now runs, although push constant emulation is not implemented yet.
This was a leftover from sharing GLSL with Metal and OpenGL, this is now a warning with modern SPIR-V compilers anyway.