aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/scenegraph/data/render_bug37422.qml
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-07-11 14:51:40 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-07-11 17:24:39 +0200
commit13374ceb165c44658aa97890c37b206859c9a31c (patch)
tree562362b196a459ee3449a5a1e60e5216a9dd6984 /tests/auto/quick/scenegraph/data/render_bug37422.qml
parentae47deba4c943c496412530a8d2a5a688ae12038 (diff)
parentb5d18be5a03406d0aac83856dd41e1525fd14a28 (diff)
Merge remote-tracking branch 'origin/wip/qt6' into wip/cmake
Diffstat (limited to 'tests/auto/quick/scenegraph/data/render_bug37422.qml')
-rw-r--r--tests/auto/quick/scenegraph/data/render_bug37422.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/quick/scenegraph/data/render_bug37422.qml b/tests/auto/quick/scenegraph/data/render_bug37422.qml
index c1b47eddb8..09661d8ccb 100644
--- a/tests/auto/quick/scenegraph/data/render_bug37422.qml
+++ b/tests/auto/quick/scenegraph/data/render_bug37422.qml
@@ -26,7 +26,7 @@
**
****************************************************************************/
-import QtQuick 2.2
+import QtQuick 2.12
/*
The test verifies that batching does not interfere with overlapping
@@ -71,7 +71,9 @@ RenderTestBase
width: 100
height: 9
y: 10
- fragmentShader: "varying highp vec2 qt_TexCoord0; void main() { gl_FragColor = vec4(1, 0, 0, 1); }"
+ fragmentShader: GraphicsInfo.shaderType === GraphicsInfo.GLSL
+ ? "varying highp vec2 qt_TexCoord0; void main() { gl_FragColor = vec4(1, 0, 0, 1); }"
+ : "file:data/render_bug37422.frag.qsb"
Rectangle {
width: 5