1. 27 Sep, 2016 1 commit
    • Fix folding shifts when operands have different signedness · 2cacb778
      Olli Etuaho authored
      The code used to incorrectly assert that the right-hand side of shift
      should have the same signedness as the left-hand side. Instead simply
      assert that both the lhs and rhs are integer typed, and also don't
      rely on aliasing via union when accessing bit shift operands.
      
      Also disallow constant folded bit shifts where the right hand side is
      greater than 31. Shifting with values greater than the width of the
      type has undefined results in both ESSL and C++.
      
      BUG=chromium:648135
      TEST=angle_unittests
      
      Change-Id: I84a99abc55f0eeda549b4781e954d17ba7b87552
      Reviewed-on: https://chromium-review.googlesource.com/389351Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
  2. 26 Sep, 2016 2 commits
  3. 23 Sep, 2016 5 commits
  4. 22 Sep, 2016 10 commits
  5. 21 Sep, 2016 3 commits
  6. 20 Sep, 2016 3 commits
  7. 19 Sep, 2016 3 commits
  8. 16 Sep, 2016 3 commits
  9. 15 Sep, 2016 4 commits
  10. 14 Sep, 2016 3 commits
  11. 13 Sep, 2016 3 commits