diff options
Diffstat (limited to 'src/quick/scenegraph/shaders/textmask.vert')
-rw-r--r-- | src/quick/scenegraph/shaders/textmask.vert | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/quick/scenegraph/shaders/textmask.vert b/src/quick/scenegraph/shaders/textmask.vert deleted file mode 100644 index 1692159d2c..0000000000 --- a/src/quick/scenegraph/shaders/textmask.vert +++ /dev/null @@ -1,15 +0,0 @@ -uniform highp mat4 matrix; -uniform highp vec2 textureScale; -uniform highp float dpr; - -attribute highp vec4 vCoord; -attribute highp vec2 tCoord; - -varying highp vec2 sampleCoord; - -void main() -{ - sampleCoord = tCoord * textureScale; - vec3 dprSnapPos = floor(vCoord.xyz * dpr + 0.5) / dpr; - gl_Position = matrix * vec4(dprSnapPos, vCoord.w); -} |