1. 08 May, 2019 12 commits
  2. 07 May, 2019 8 commits
  3. 06 May, 2019 8 commits
  4. 04 May, 2019 2 commits
    • D3D11: Fix potential invalid VAO access in dispatch. · 6f0c5b8d
      Jamie Madill authored
      In some instances running a dispatch call could lead to accessing an
      invalid VAO pointer. This seemed to be tied to switching Contexts.
      Fix the bug by invalidating the cache pointers on Context switch. Note
      that it seems this bug can only affect ES 3.1+ Contexts.
      
      Bug: angleproject:3349
      Change-Id: Ib712bcc29215b3fd1c8b7eb0cbd70dea649b3cfc
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1594289Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Vulkan: Optimize shader source macro replacement · 62742f9e
      Shahbaz Youssefi authored
      @@ LAYOUT-xx @@ and @@ QUALIFIER-xx @@ macros are generated by the
      compiler when emitting Vulkan GLSL.  These macros are replaced at link
      time in the Vulkan backend.
      
      Previously, this replacement was done through calls to
      angle::ReplaceSubstring, reiterating over the whole source on every
      replacement.  This CL does a prepass on the input source and chunks it
      up in blocks.  Search is optimized as only blocks of a certain type are
      string-compared (skipping large chunks of shader text).  Replace is
      optimized as the whole shader is not shifted left or right on every
      replacement.
      
      Additionally, this CL modifies the layout macro to the following format:
      
      	@@ LAYOUT-xx(extra, args) @@
      
      This is used in a follow up CL to have the compiler provide additional
      layout qualifiers.
      
      Bug: angleproject:3220
      Change-Id: I6367e781c3304d5f2e0a406e4fb4e6feb4c45f1d
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1592070
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
  5. 03 May, 2019 10 commits