aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/scenegraph/scenegraph.pro
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-11-06 10:06:27 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-09 22:46:47 +0100
commitafee694ce5d65518e5908b97e9a691c03fe0a844 (patch)
treebe6e714703b799791cdacbea4b315471ab9b6a03 /tests/auto/quick/scenegraph/scenegraph.pro
parent7b75c3e63e7842c2667f58d43d44e21ff57ac0c8 (diff)
Avoid using huge floating point values in the renderer.
We pretransform vertices relative to their batch root and upload these using single-precision floats. If the offsets are huge then the floating point numbers start to get unstable and we get rendering artifacts as a result. This typically happens for lists/tables with huge models. Task-number: QTBUG-34312 Change-Id: I2516f2b4fa93f44a1288659d05458fb1af0df943 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'tests/auto/quick/scenegraph/scenegraph.pro')
-rw-r--r--tests/auto/quick/scenegraph/scenegraph.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/quick/scenegraph/scenegraph.pro b/tests/auto/quick/scenegraph/scenegraph.pro
index 7e7a8eb162..105221b7f4 100644
--- a/tests/auto/quick/scenegraph/scenegraph.pro
+++ b/tests/auto/quick/scenegraph/scenegraph.pro
@@ -9,3 +9,6 @@ macx:CONFIG -= app_bundle
QT += core-private gui-private qml-private quick-private testlib
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
+
+OTHER_FILES += \
+ data/render_OutOfFloatRange.qml