diff options
Diffstat (limited to 'scripts/generate-shaders.js')
-rwxr-xr-x | scripts/generate-shaders.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/generate-shaders.js b/scripts/generate-shaders.js index ddfdd036a3..a3246c92d9 100755 --- a/scripts/generate-shaders.js +++ b/scripts/generate-shaders.js @@ -136,6 +136,16 @@ const char* ${shaderName}::name = "${shaderName}"; const char* ${shaderName}::vertexSource = ${sourceOffset(key, 'vertex')}; const char* ${shaderName}::fragmentSource = ${sourceOffset(key, 'fragment')}; +// Uncompressed source of ${shaderName}.vertex.glsl: +/* +${shaders[key].vertexSource} +*/ + +// Uncompressed source of ${shaderName}.fragment.glsl: +/* +${shaders[key].fragmentSource} +*/ + } // namespace shaders } // namespace mbgl `); |