1. 22 Aug, 2017 3 commits
    • Handle Clear* commands for layered framebuffers · 5e424fae
      Martin Radev authored
      The patch adds support for clearing the layers of 2D array textures
      attached to a multi-view framebuffer. According to the ANGLE_multiview
      spec, the layers which are outside of the range
      [baseViewIndex; baseViewIndex + numViews) should remain unmodified.
      Because the native Clear* commands clear all of the layers, a workaround
      is implemented which creates a FBO, attaches a single layer from all
      multi-view attachments and clears the contents.
      
      BUG=angleproject:2062
      TEST=angle_end2end_tests
      
      Change-Id: Ibf711d02046233eed16bdd3f9c96fc38f82ed0a8
      Reviewed-on: https://chromium-review.googlesource.com/615242
      Commit-Queue: Martin Radev <mradev@nvidia.com>
      Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    • Test multi-view rendering of various primitives · 61bd9994
      Martin Radev authored
      The patch adds tests to verify that all primitive types are rendered
      correctly in a multi-view context.
      
      BUG=angleproject:2062
      TEST=angle_end2end_tests
      
      Change-Id: Ied4521264841d29ba3b39a612e2da285d0fd9fc6
      Reviewed-on: https://chromium-review.googlesource.com/612243
      Commit-Queue: Martin Radev <mradev@nvidia.com>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    • ES31: Implement gl_in in Geometry Shader · d8105a03
      Jiawei Shao authored
      This patch intends to implement geometry shader built-in interface
      block instance gl_in defined in GL_OES_geometry_shader.
      
      1. Add the definition of gl_in and its interface block gl_PerVertex
         into the symbol table.
      2. Support gl_Position as a member of gl_in.
      3. Set the array size of gl_in when a valid input primitive type is
         known.
      4. Add check that it should be a compile error to index gl_in or
         call length() on gl_in without a valid input primitive declaration.
      
      This patch also adds unit tests to cover all these new features.
      
      BUG=angleproject:1941
      TEST=angle_unittests
      
      Change-Id: I8da20c943b29c9ce904834625b396aab6302e1e1
      Reviewed-on: https://chromium-review.googlesource.com/605059
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
  2. 21 Aug, 2017 4 commits
  3. 18 Aug, 2017 2 commits
  4. 17 Aug, 2017 6 commits
  5. 16 Aug, 2017 7 commits
  6. 15 Aug, 2017 5 commits
  7. 14 Aug, 2017 5 commits
  8. 11 Aug, 2017 4 commits
  9. 10 Aug, 2017 4 commits