Add basic shader minification (#13500)

* add basic shader minification (same GL JS does)

* don't remove line break at shader end
This commit is contained in:
Vladimir Agafonkin
2018-12-04 16:09:43 +02:00
committed by GitHub
parent aefcb1176a
commit c89daf6bf1
28 changed files with 957 additions and 1616 deletions

View File

@@ -7,8 +7,8 @@ namespace mbgl {
namespace shaders {
const char* raster::name = "raster";
const char* raster::vertexSource = source() + 69101;
const char* raster::fragmentSource = source() + 69914;
const char* raster::vertexSource = source() + 48448;
const char* raster::fragmentSource = source() + 48797;
// Uncompressed source of raster.vertex.glsl:
/*