2017-08-15 20:28:07 -04:00
|
|
|
// pathfinder/shaders/gles2/ecaa-edge-detect.vs.glsl
|
|
|
|
//
|
|
|
|
// Copyright (c) 2017 Mozilla Foundation
|
|
|
|
|
|
|
|
precision highp float;
|
|
|
|
|
2017-08-23 22:18:24 -04:00
|
|
|
uniform vec4 uTransformST;
|
|
|
|
uniform vec2 uTexScale;
|
|
|
|
|
2017-08-15 20:28:07 -04:00
|
|
|
attribute vec2 aPosition;
|
|
|
|
attribute vec2 aTexCoord;
|
|
|
|
|
|
|
|
varying vec2 vTexCoord;
|
|
|
|
|
|
|
|
void main() {
|
2017-08-23 22:18:24 -04:00
|
|
|
gl_Position = vec4(transformVertexPositionST(aPosition, uTransformST), 0.0, 1.0);
|
|
|
|
vTexCoord = aTexCoord * uTexScale;
|
2017-08-15 20:28:07 -04:00
|
|
|
}
|