diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2013-11-26 12:23:03 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-28 16:33:43 +0100 |
commit | 3a3f3db45106ba8dabc2735d7b02d39142fad054 (patch) | |
tree | f9cab6a92234d5a509e2bba08929ac880e8071c2 /qtdeclarative.pro | |
parent | 4bf6969d8a1e17911a076ac470a38a464d7322a2 (diff) |
Set sampler precision in shifted distance field text shader
The precision would default to lowp and we would attempt to
call smoothstep(mediump, mediump, lowp) which was a
non-existent overload on some drivers, thus causing a compiler
failure. We can use mediump for the sampler, like in the
regular distance field shader.
Task-number: QTBUG-35122
Change-Id: Ib50325d48fe7e0d25559da97e7f53e5170f705a1
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'qtdeclarative.pro')
0 files changed, 0 insertions, 0 deletions