commit | 5b87ebf2f3c65678d63995a9f8cebb1f7eceac7f | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Mon Apr 25 16:12:57 2016 -0400 |
committer | Nicolas Capens <capn@google.com> | Tue Apr 26 15:08:37 2016 +0000 |
tree | 72f10885fe3db9ed9d931a5fd2aa9b4253b1ba37 | |
parent | cce6c4e16fa044c3cf02a7f61660d252ce251ed9 [diff] |
Fix operator precedence issue. Addition evaluates before the ternary operator, which resulted in the wrong sizes being computed. Bug 28346104 Change-Id: Id28843132097a4fb1599eed19c05f479f16f1315 Reviewed-on: https://swiftshader-review.googlesource.com/5187 Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>