(errLog, src, shaderType)
| 64350 | var _getShaderTypeName = require("./get-shader-type-name"); |
| 64351 | var _getShaderTypeNameDefault = parcelHelpers.interopDefault(_getShaderTypeName); |
| 64352 | function formatGLSLCompilerError(errLog, src, shaderType) { |
| 64353 | var _parseGLSLCompilerErr = parseGLSLCompilerError(errLog, src, shaderType), shaderName = _parseGLSLCompilerErr.shaderName, errors = _parseGLSLCompilerErr.errors, warnings = _parseGLSLCompilerErr.warnings; |
| 64354 | return "GLSL compilation error in ".concat(shaderName, "\n\n").concat(errors, "\n").concat(warnings); |
| 64355 | } |
| 64356 | exports.default = formatGLSLCompilerError; |
| 64357 | function parseGLSLCompilerError(errLog, src, shaderType, shaderName) { |
| 64358 | var errorStrings = errLog.split(/\r?\n/); |
nothing calls this directly
no test coverage detected