From 9d2de382bfb00d2f2421153ffdd9ae2217237298 Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Wed, 11 Dec 2019 13:58:35 +0200 Subject: [PATCH] [build] remove obsolete code in shader generation (#14906) --- scripts/generate-shaders.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/generate-shaders.js b/scripts/generate-shaders.js index 4816b89d3..0461bd745 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;