1. 30 Jan, 2017 1 commit
    • Vulkan: Implement new GLSL translator back-end. · e794cd86
      Jamie Madill authored
      The Vulkan GLSL translator back-end will handle validating and
      translating our WebGL/ESSL shaders into Vulkan-specific GLSL.
      
      glslang (the Vulkan one) accepts both GLSL and GLSL ES shaders
      as inputs, and both the desktop and ESSL back-ends give
      incompleteness warnings when used. For now, use the desktop GL
      450 as a target for Vulkan GLSL.
      
      The Vulkan-specific changes are currently only to add locations
      to every vertex input and fragment output.
      
      BUG=angleproject:1575
      
      Change-Id: I7c3f32f522e9d18e5f8618eb7927336bf4fbdcf2
      Reviewed-on: https://chromium-review.googlesource.com/412266Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
  2. 27 Jan, 2017 1 commit
  3. 26 Jan, 2017 3 commits
  4. 25 Jan, 2017 3 commits
  5. 24 Jan, 2017 2 commits
  6. 23 Jan, 2017 5 commits
  7. 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>
  8. 19 Jan, 2017 6 commits
  9. 18 Jan, 2017 1 commit
  10. 17 Jan, 2017 6 commits
  11. 16 Jan, 2017 1 commit
  12. 13 Jan, 2017 9 commits
  13. 12 Jan, 2017 1 commit