diff options
author | Oleg Evseev <ev.mipt@gmail.com> | 2017-05-12 12:35:08 +0300 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2017-05-16 10:02:09 +0000 |
commit | 7261606116768d563c0e49a23ca60ab367a4cab5 (patch) | |
tree | d30e93a3fa5abd67c878cd7f1fda0005e23a9b32 /examples/qt3d/planets-qml/images/earthcloudmapcolortrans.png | |
parent | c9dbd1025cf31ca512ff29a169970275b76752dc (diff) |
Fix speed regressions in ES2 shaders
The GLSL ES specification (up to at least 3.0) does not mandate support of
dynamic indexing of uniform block arrays. For that reason loops in ES2
shaders were unrolled by calling separate functions, but it had leaded to
rendering speed regressions. This patch reverts loops unrolling using
separate functions and replaces dynamic indexing in place instead.
Task-number: QTBUG-60183
Task-number: QTBUG-54994
Change-Id: Ieb036f442922de312b2941a0b8c511c0b4b3ec5a
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Oleg Evseev <ev.mipt@gmail.com>
Diffstat (limited to 'examples/qt3d/planets-qml/images/earthcloudmapcolortrans.png')
0 files changed, 0 insertions, 0 deletions