(errLog, src, shaderType)
| 3180 | |
| 3181 | |
| 3182 | function formatGLSLCompilerError(errLog, src, shaderType) { |
| 3183 | var _parseGLSLCompilerErr = parseGLSLCompilerError(errLog, src, shaderType), |
| 3184 | shaderName = _parseGLSLCompilerErr.shaderName, |
| 3185 | errors = _parseGLSLCompilerErr.errors, |
| 3186 | warnings = _parseGLSLCompilerErr.warnings; |
| 3187 | |
| 3188 | return "GLSL compilation error in ".concat(shaderName, "\n\n").concat(errors, "\n").concat(warnings); |
| 3189 | } // helper function, outputs annotated errors or warnings |
| 3190 | |
| 3191 | |
| 3192 | function formatErrors(errors, lines) { |
nothing calls this directly
no test coverage detected