| Index: cc/output/shader.cc
|
| diff --git a/cc/output/shader.cc b/cc/output/shader.cc
|
| index eb5041ac5815b342b8899c4a2586af9b032781a4..b962d4ace91b1d2e295f1ee0955890995c676564 100644
|
| --- a/cc/output/shader.cc
|
| +++ b/cc/output/shader.cc
|
| @@ -546,6 +546,7 @@ std::string VertexShaderTile::GetShaderString() const {
|
| return VERTEX_SHADER(
|
| // clang-format on
|
| attribute TexCoordPrecision vec4 a_position;
|
| + attribute TexCoordPrecision vec2 a_texCoord;
|
| attribute float a_index;
|
| uniform mat4 matrix;
|
| uniform TexCoordPrecision vec2 quad[4];
|
| @@ -554,7 +555,7 @@ std::string VertexShaderTile::GetShaderString() const {
|
| void main() {
|
| vec2 pos = quad[int(a_index)]; // NOLINT
|
| gl_Position = matrix * vec4(pos, a_position.z, a_position.w);
|
| - v_texCoord = pos.xy * vertexTexTransform.zw + vertexTexTransform.xy;
|
| + v_texCoord = a_texCoord * vertexTexTransform.zw + vertexTexTransform.xy;
|
| }
|
| // clang-format off
|
| ); // NOLINT(whitespace/parens)
|
|
|