summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVladimir Agafonkin <agafonkin@gmail.com>2019-12-11 13:58:35 +0200
committerGitHub <noreply@github.com>2019-12-11 13:58:35 +0200
commit9d2de382bfb00d2f2421153ffdd9ae2217237298 (patch)
tree0b2fa5ab5de29fc4500347cdbf756890446bbcde /scripts
parentf848f07ad9be9805bb1ae6d30c307b603dc87b86 (diff)
downloadqtlocation-mapboxgl-9d2de382bfb00d2f2421153ffdd9ae2217237298.tar.gz
[build] remove obsolete code in shader generation (#14906)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate-shaders.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/generate-shaders.js b/scripts/generate-shaders.js
index 4816b89d3e..0461bd7458 100755
--- a/scripts/generate-shaders.js
+++ b/scripts/generate-shaders.js
@@ -24,11 +24,6 @@ function basicMinify(src) {
}
for (const key in shaders) {
- // Rename a_*_t uniforms to u_*_t. This is a workaround until we can use
- // https://github.com/mapbox/mapbox-gl-js/pull/8055, which is blocked by
- // https://github.com/mapbox/mapbox-gl-native/issues/13984
- shaders[key].vertexSource = shaders[key].vertexSource.replace(/\ba_(\w+)_t\b/mg, 'u_$1_t');
-
const hash = crypto.createHash('sha1');
const vertex = concatenated.length;