https://searchfox.org/mozilla-central/rev/d69ec052bed8700af7a283e37b60b4af22734930/dom/canvas/WebGLShaderValidator.cpp#31 There are some differences that we probably want to copy.