MCPcopy Create free account
hub / github.com/microsoft/SandDance / formatGLSLCompilerError

Function formatGLSLCompilerError

docs/tests/v2/es6/js/sanddance.js:3182–3189  ·  view source on GitHub ↗
(errLog, src, shaderType)

Source from the content-addressed store, hash-verified

3180
3181
3182function 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
3192function formatErrors(errors, lines) {

Callers

nothing calls this directly

Calls 1

parseGLSLCompilerErrorFunction · 0.70

Tested by

no test coverage detected