1. 12 Sep, 2016 1 commit
    • Promote and fold indexing nodes similarly to other binary ops · 3272a6d3
      Olli Etuaho authored
      Indexing nodes now get their type set in TIntermBinary::promote, same
      as math and logic ops. They are also constant folded through
      TIntermBinary::fold() instead of having special functions for constant
      folding them in ParseContext.
      
      Index nodes for struct and interface block member access now always
      have integer type, instead of sometimes having the type of the field
      they were used to access.
      
      Usage of TIntermBinary constructor is cleaned up so only the
      constructor that takes in left and right operands is used. The type
      of TIntermBinary nodes is always determined automatically.
      
      Together these changes make the code considerably cleaner.
      
      Note that the code for constant folding for array indexing is actually
      never hit because constant folding array constructors is still
      intentionally disabled in the code.
      
      BUG=angleproject:1490
      TEST=angle_unittests
      
      Change-Id: Ifcec45257476cdb0d495c7d72e3cf2f83388e8c5
      Reviewed-on: https://chromium-review.googlesource.com/377961Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
  2. 09 Sep, 2016 1 commit
  3. 08 Sep, 2016 7 commits
  4. 07 Sep, 2016 3 commits
  5. 06 Sep, 2016 11 commits
  6. 05 Sep, 2016 1 commit
  7. 02 Sep, 2016 3 commits
  8. 01 Sep, 2016 5 commits
  9. 31 Aug, 2016 3 commits
  10. 30 Aug, 2016 3 commits
  11. 29 Aug, 2016 2 commits