diff options
Diffstat (limited to 'examples/quick/scenegraph/twotextureproviders/shaders/xorblender.vert')
-rw-r--r-- | examples/quick/scenegraph/twotextureproviders/shaders/xorblender.vert | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.vert b/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.vert new file mode 100644 index 0000000000..ac9f1364d6 --- /dev/null +++ b/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.vert @@ -0,0 +1,12 @@ +attribute highp vec4 aVertex; +attribute highp vec2 aTexCoord; + +uniform highp mat4 qt_Matrix; + +varying highp vec2 vTexCoord; + +void main() +{ + gl_Position = qt_Matrix * aVertex; + vTexCoord = aTexCoord; +} |