commit | 7023a00c35d904e4ccff09c377e9ba26abba6181 | [log] [tgz] |
---|---|---|
author | jvanverth <jvanverth@google.com> | Mon Feb 22 11:25:32 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Feb 22 11:25:32 2016 -0800 |
tree | 33a9241b646576bd5c66b88623c1db8d925d1274 | |
parent | 01e583807618038a578a3b07cfad3101d24115c7 [diff] |
Use unorm shorts for texture coordinates when rendering text. There are a couple of reasons for this: - Vulkan does not guarantee conversions from integral vertex attributes to floating point shader variables - This may be faster and more precise on some platforms, as it avoids the aforementioned conversion and changes a multiply by a very small value to a multiply by a medium-sized value. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1713693002 TBR=bsalomon@google.com Committed: https://skia.googlesource.com/skia/+/e507ff0460f4f878214b9454fb5b9ab8d64d8063 Review URL: https://codereview.chromium.org/1713693002