aboutsummaryrefslogtreecommitdiffstats
path: root/tests/baseline/scenegraph/data/shaders/gridmesh/resolution_4.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/baseline/scenegraph/data/shaders/gridmesh/resolution_4.qml')
-rw-r--r--tests/baseline/scenegraph/data/shaders/gridmesh/resolution_4.qml49
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/baseline/scenegraph/data/shaders/gridmesh/resolution_4.qml b/tests/baseline/scenegraph/data/shaders/gridmesh/resolution_4.qml
new file mode 100644
index 0000000000..f1f31e6f90
--- /dev/null
+++ b/tests/baseline/scenegraph/data/shaders/gridmesh/resolution_4.qml
@@ -0,0 +1,49 @@
+import QtQuick 2.0
+
+Rectangle {
+ width: 320
+ height: 480
+ color: "skyblue"
+ ShaderEffect {
+ anchors.centerIn: parent
+ width: 22 * 12
+ height: 16 * 12
+ property variant source: ShaderEffectSource {
+ sourceItem: Rectangle {
+ width: 22 * 20
+ height: 16 * 20
+ color: "#EF2B2D"
+ Rectangle {
+ y: 6 * 20
+ height: 4 * 20
+ width: 22 * 20
+ color: "white"
+ }
+ Rectangle {
+ x: 6 * 20
+ width: 4 * 20
+ height: 16 * 20
+ color: "white"
+ }
+ Rectangle {
+ y: 7 * 20
+ height: 2 * 20
+ width: 22 * 20
+ color: "#002868"
+ }
+ Rectangle {
+ x: 7 * 20
+ width: 2 * 20
+ height: 16 * 20
+ color: "#002868"
+ }
+ }
+ smooth: true
+ }
+ vertexShader: "qrc:shaders/wave.vert.qsb"
+ mesh: GridMesh {
+ property int r: 4
+ resolution: Qt.size(r, r)
+ }
+ }
+}