1. 22 Aug, 2017 1 commit
    • 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
  10. 09 Aug, 2017 2 commits
    • Fix null pointer dereference in redeclaration error message · 85d624a5
      Olli Etuaho authored
      When a function parameter name conflicts with another, the pointer
      returned to ParseContext will be null.
      
      BUG=chromium:745242
      TEST=angle_unittests
      
      Change-Id: Ie53bb06b0c6660e382d85aeda41f3a1b7df5a917
      Reviewed-on: https://chromium-review.googlesource.com/603368Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    • Add multiview performance tests · 6a6199b4
      Martin Radev authored
      The patch adds two tests to measure the performance of the
      ANGLE_multiview extension implementation:
      1) The first test renders onto two views by issuing thousands of state
      changes and draw calls. The aim of the test is to stress the CPU.
      2) The second test renders onto two views by drawing with one draw call
      half a million quads with multiple attributes per vertex. The attributes
      are passed to the fragment shader where they are used for computing the
      color. The aim of the test is to stress the GPU's memory system.
      
      The patch also extends the ANGLEPerfTest's functionality to only run
      the benchmark if the necessary extensions are available.
      
      BUG=angleproject:2062
      TEST=angle_end2end_tests
      
      Change-Id: Ic63d54a69fdddb72439eeeb1951a500fb1247e95
      Reviewed-on: https://chromium-review.googlesource.com/597630Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>