1. 20 Sep, 2016 1 commit
    • Fix splitting nested sequence operators · 905fbdea
      Olli Etuaho authored
      Make sure that only one sequence operator is split on one iteration
      of SplitSequenceOperator. This prevents multiple successive PostVisit
      calls to nested sequence operator nodes from adding duplicate nodes
      to the AST. The sequence operators are split starting from the
      outermost one to preserve execution order.
      
      Note that the shader translator somewhat unexpectedly generates nested
      sequence operators in the AST when there is a sequence operator with
      more than two operands, so this bug ended up affecting shaders in the
      wild. The code around parsing sequence operators could be clarified
      separately.
      
      BUG=638313
      TEST=angle_end2end_tests
      
      Change-Id: Ic6400a484ceff0c790c2290f7b4b80980f87cd88
      Reviewed-on: https://chromium-review.googlesource.com/376678Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      Reviewed-on: https://chromium-review.googlesource.com/387173
  2. 24 Aug, 2016 1 commit
  3. 23 Aug, 2016 5 commits
  4. 22 Aug, 2016 4 commits
  5. 18 Aug, 2016 3 commits
  6. 17 Aug, 2016 3 commits
  7. 16 Aug, 2016 4 commits
  8. 15 Aug, 2016 1 commit
    • Clarify error checking function names in the GLSL parser · 856c497e
      Olli Etuaho authored
      Most error checking functions in ParseContext used to follow a format
      like <property>ErrorCheck. Sometimes this function would check that
      the node/value would have <property>, sometimes it would check that
      the node/value would not have it, which was confusing. Change most of
      these functions to use a lot more descriptive names, which clearly
      communicate what they are checking for.
      
      Also includes a bit of refactoring in constructorErrorCheck(), so that
      the function only checks for errors rather than also setting the type
      of the constructor node.
      
      Also make TType::arraySize unsigned, and return a sanitized size from
      checkIsValidArraySize() instead of using an output parameter.
      
      BUG=angleproject:911
      TEST=angle_unittests
      
      Change-Id: Id9767b8c79594ad3f782f801ea68eb96df721a31
      Reviewed-on: https://chromium-review.googlesource.com/367070Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
  9. 12 Aug, 2016 3 commits
  10. 11 Aug, 2016 6 commits
  11. 10 Aug, 2016 4 commits
  12. 09 Aug, 2016 3 commits
  13. 08 Aug, 2016 1 commit
  14. 05 Aug, 2016 1 commit