commit | 13c70cda1140ea2b335369d3506a55f1237a5982 | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Tue Apr 05 10:51:45 2016 -0400 |
committer | Nicolas Capens <capn@google.com> | Tue Apr 05 23:39:40 2016 +0000 |
tree | b59143b524ba8986ee1447e794fde15422622ac3 | |
parent | 53463f7519641697019bf0e36cfe25b314e85bb5 [diff] |
Fix scaling of float color to RGB565. The scaling factors ensure that the components are rounded correctly even after alpha blending, which may multiply colors by colors. Bug 24332884 Change-Id: Ib75602e89996b2fd1a319a132a681295fb2a18a6 Reviewed-on: https://swiftshader-review.googlesource.com/5048 Tested-by: Nicolas Capens <capn@google.com> Reviewed-by: Nicolas Capens <capn@google.com>