1. 24 Jul, 2018 1 commit
  2. 23 Jul, 2018 7 commits
  3. 20 Jul, 2018 2 commits
  4. 19 Jul, 2018 4 commits
    • Fix ImageTest. · 0be37b44
      Jamie Madill authored
      This test suite was missing the "GL_" prefix on some of the extension
      checks. This was causing every test in the suite to be skipped. Fix
      the check and also add some sanity checks that should ensure we expose
      certain extensions on particular platforms and renderers.
      
      Was discovered while working on changing the egl::Image class.
      
      Bug: angleproject:2714
      Change-Id: Ida89b5c3c33c534e60cbd55c7e1117a6ef6faae9
      Reviewed-on: https://chromium-review.googlesource.com/1142963Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Fix decorating ViewID_OVR in HLSL output · da41ac69
      Olli Etuaho authored
      ViewID_OVR should not be decorated in HLSL output since it is an
      internal variable. Make sure that DecorateVariableIfNeeded() is used
      for varyings instead of just Decorate() so that the internalness is
      checked correctly and ViewID_OVR doesn't get decorated.
      
      This avoids possible name conflicts between the internal ViewID_OVR
      and any user-defined variables named ViewID_OVR.
      
      BUG=angleproject:2062
      TEST=angle_end2end_tests, angle_unittests
      
      Change-Id: I9ed9876d4b2c760e7a11b0b270a2190993e840e5
      Reviewed-on: https://chromium-review.googlesource.com/1143398Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    • Clean up VaryingPacking · da92a476
      Jiawei Shao authored
      This patch intends to clean up some issues in VaryingPacking
      to implement geometry shader easiler.
      
      1. Use emplace_back() instead of push_back() when necessary.
      2. Remove unnecessary parameter in VaryingPacking::packUserVaryings().
      3. Remove the assignment of semanticIndex and only handle them in D3D11
         back-ends.
      
      BUG=angleproject:1941
      
      Change-Id: Ia09c07f01dc442ce95cb4984e4b768d0c79872c7
      Reviewed-on: https://chromium-review.googlesource.com/1128576Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
    • ES31: Implement Vertex Attrib Binding on D3D11 · 6a5d98c4
      Jiawei Shao authored
      This patch implements Vertex Attrib Binding on D3D11 and enables all
      the test cases related to Vertex Attrib Binding on D3D11 back-ends.
      
      On D3D11 back-ends the information in both GL vertex attributes and
      bindings should be updated together. When a binding is dirty, we need
      to find out and update all the attributes that are using this binding.
      To speed up this process, this patch adds a map from each binding to
      all the attrib indexes that are using this binding. This map may be
      updated when VertexAttribBinding is implicitly or explicitly called.
      With this map we can easily get all the attributes that should be
      updated with the current dirty binding.
      
      This patch also removes some unused variables in VertexArray11.cpp.
      
      BUG=angleproject:2700
      TEST=dEQP-GLES31.functional.vertex_attribute_binding.*
           angle_end2end_tests
      
      Change-Id: I9a28ec357fd3aba835812cecc410cfa4e3734f0c
      Reviewed-on: https://chromium-review.googlesource.com/1048980
      Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  5. 18 Jul, 2018 7 commits
  6. 17 Jul, 2018 4 commits
  7. 16 Jul, 2018 10 commits
  8. 14 Jul, 2018 2 commits
  9. 13 Jul, 2018 3 commits
    • Vulkan: Refactor for draw call shader patching. · 06ca634e
      Jamie Madill authored
      This refactors a few methods to enable draw call shader patching. The
      shader serials in the Pipeline description are inserted right before
      we query the pipeline cache. This is done during a draw call. Also
      renames the 'QueueSerial' member of the ObjectAndSerial class to just
      'Serial' to more accurately reflect it usage in ShaderAndSerial.
      
      Also changes the GlslangWrapper class to have all static methods. If we
      need to store state we can revert these changes at some point.
      
      Also splits the GlslangWrapper link call into two static calls. One
      call is called to get the linked source code. The second call compiles
      the linked sources into shader code. Only the second call will be
      necessary for draw call shader patching to implement OpenGL line
      rasterization in Vulkan.
      
      Bug: angleproject:2598
      Change-Id: I7bad3c3eeab1fb062c15a840836db4a28f841a26
      Reviewed-on: https://chromium-review.googlesource.com/1127158
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    • Vulkan: prepare for buffer format fallbacks. · d9618bf4
      Frank Henigman authored
      Generate code for buffer fallbacks as well as texture fallbacks.
      No functional change.
      
      BUG=angleproject:2405
      
      Change-Id: I9f30a2cbb3cd9ba1d18474f99cba434b030b0232
      Reviewed-on: https://chromium-review.googlesource.com/1113026
      Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • dEQP: Fix non-GTest error logging. · ecbaf666
      Jamie Madill authored
      Using the non-GTest dEQP targets led to crashes when deferencing a
      nullptr error logging method. Fix this by skipping platform init if
      there is a nullptr logError function.
      
      Bug: angleproject:2552
      Change-Id: I161e35b49f7e9a7592cec968e3540a2e8b625f94
      Reviewed-on: https://chromium-review.googlesource.com/1136663
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarLuc Ferron <lucferron@chromium.org>