1. 20 Sep, 2017 3 commits
    • ES31: Enable 'location' layout qualifier on shader interfaces in compiler · 4cc89e2b
      Jiawei Shao authored
      This patch enables 'location' layout qualifier for vertex outputs and
      fragment shader inputs when the shader version is 3.1 in ANGLE GLSL
      compiler and adds the check on location conflicts for these varyings.
      
      According to GLSL ES 3.1 SPEC (Chapter 4.4.1 and Chapter 4.4.2),
      'location' layout qualifier is allowed on both inputs and outputs of
      vertex and fragment shaders.
      
      'location' layout qualifier on shader interfaces is only valid on shaders
      whose version is 3.1 and above. According to GLSL ES 3.0 SPEC, vertex shader
      cannot have output layout qualifiers (Chapter 4.3.8.2) and fragment shader
      cannot have input layout qualifiers (Chapter 4.3.8.1).
      
      The 'location' qualifier on varyings is used in the shader interface
      matching defined in OpenGL ES 3.1. (OpenGL ES 3.1 SPEC Chapter 7.4.1). This
      new link rule will be added to Program.cpp in another patch.
      
      For the OpenGL ES 3.1 extension GL_OES_geometry_shader, according to
      GL_OES_shader_io_blocks SPEC (Chapter 4.4.1 and Chapter 4.4.2), 'location'
      layout qualifier is both valid on geometry shader inputs and outputs. This
      feature will be implemented together with other rules on geometry shader
      inputs and outputs.
      
      BUG=angleproject:2144
      TEST=angle_unittests
      
      Change-Id: I62d85f7144c177448321c2db36ed7aaeaa1fb205
      Reviewed-on: https://chromium-review.googlesource.com/645366
      Commit-Queue: Geoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    • ES31: Enable shader storage buffer support for OpenGL backend · 729b2c6e
      Jiajia Qin authored
      BUG=angleproject:1951
      TEST=angle_end2end_tests:ShaderStorageBuffer
      
      Change-Id: I1afc3cd005ad2e595c6ce937fc53e17423f8ec8b
      Reviewed-on: https://chromium-review.googlesource.com/618132
      Commit-Queue: Geoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    • Add test for GL_KHR_robust_buffer_access_behavior · 47bf2dc5
      Jiajia Qin authored
      This test is ported from webgl test element-index-uint.html.
      
      BUG=angleproject:1393, angleproject:1463
      
      Change-Id: I165e3dd2913968c8cc035c570a7bcaf91aed095a
      Reviewed-on: https://chromium-review.googlesource.com/651239
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
  2. 19 Sep, 2017 8 commits
  3. 18 Sep, 2017 9 commits
  4. 16 Sep, 2017 1 commit
  5. 15 Sep, 2017 4 commits
  6. 14 Sep, 2017 7 commits
  7. 13 Sep, 2017 5 commits
  8. 12 Sep, 2017 3 commits