summaryrefslogtreecommitdiff
path: root/scripts/generate-shaders.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/generate-shaders.js')
-rwxr-xr-xscripts/generate-shaders.js10
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
`);