1. 24 Jan, 2017 1 commit
    • Add symbol table function to get TFunction for a built-in op · 01d0ad08
      Olli Etuaho authored
      Built-in function parameter qualifiers are stored in the symbol table.
      Some AST traversers need the qualifier information for ops to
      determine whether a node is being written to. Add an utility function
      that maps a TIntermAggregate node to a symbol table entry, so that the
      traversers can get to this information in a convenient way.
      
      This will be necessary for adding more built-ins that have out
      parameters from ESSL 3.10.
      
      BUG=angleproject:1730
      TEST=angle_unittests
      
      Change-Id: I4bc622d70b2326a04cc858ff1258c22320c590dc
      Reviewed-on: https://chromium-review.googlesource.com/431109
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  2. 23 Jan, 2017 5 commits
  3. 20 Jan, 2017 1 commit
    • Make AST path always include the current node being traversed · 1d9dcc24
      Olli Etuaho authored
      AST traversers tend to sometimes call traverse() functions manually
      during PreVisit. Change TIntermTraverser so that even if this happens,
      all the nodes are automatically added to the traversal path, instead
      of having to add them manually in each individual AST traverser.
      
      This also makes calling getParentNode() return the correct node during
      InVisit.
      
      This does cause the same node being added to the traversal path twice
      in some cases, where nodes are repeatedly traversed, like in
      OutputHLSL, but this should not have adverse side effects. The more
      common case is that the traverse() function is called on the children
      of the node being currently traversed.
      
      This fixes a bug in OVR_multiview validation, which did not previously
      call incrementDepth and decrementDepth when it should have.
      
      BUG=angleproject:1725
      TEST=angle_unittests, angle_end2end_tests
      
      Change-Id: I6ae762eef760509ebe853eefa37dac28c16e7a9b
      Reviewed-on: https://chromium-review.googlesource.com/430732
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  4. 19 Jan, 2017 6 commits
  5. 18 Jan, 2017 1 commit
  6. 17 Jan, 2017 6 commits
  7. 16 Jan, 2017 1 commit
  8. 13 Jan, 2017 9 commits
  9. 12 Jan, 2017 5 commits
  10. 11 Jan, 2017 5 commits