commit | e507ff0460f4f878214b9454fb5b9ab8d64d8063 | [log] [tgz] |
---|---|---|
author | jvanverth <jvanverth@google.com> | Fri Feb 19 06:35:22 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 19 06:35:22 2016 -0800 |
tree | 144e5f967a735ee0ec2de3e6c5d3a7cb33a213df | |
parent | 77b798ce8e8616e8cb0e82a22ad9eb4f69eb271f [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 Review URL: https://codereview.chromium.org/1713693002