diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-07-28 11:54:44 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-07-29 15:40:27 +0000 |
commit | 5e8347fdbab98d721f031634a9f6c8b217072d34 (patch) | |
tree | ca507e39d1ffb058e6c622d17e19e1b236531f05 /src/imports/shapes/shaders/blit.vert | |
parent | 182983943b76bc0e40ff7693853ef2262323fa80 (diff) |
Move shapes-related shaders to under the shapes plugin
Do not leave them in quick/items' qrc.
Change-Id: I12360a54caa368219a7a80645f92af66aa9de9ba
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/shapes/shaders/blit.vert')
-rw-r--r-- | src/imports/shapes/shaders/blit.vert | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/imports/shapes/shaders/blit.vert b/src/imports/shapes/shaders/blit.vert new file mode 100644 index 0000000000..f8306bd945 --- /dev/null +++ b/src/imports/shapes/shaders/blit.vert @@ -0,0 +1,12 @@ +uniform highp mat4 qt_Matrix; + +attribute highp vec4 qt_Vertex; +attribute highp vec2 qt_MultiTexCoord0; + +varying highp vec2 qt_TexCoord0; + +void main() +{ + qt_TexCoord0 = qt_MultiTexCoord0; + gl_Position = qt_Matrix * qt_Vertex; +} |