1. 04 May, 2019 1 commit
    • 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>
  2. 03 May, 2019 13 commits
  3. 02 May, 2019 3 commits
  4. 01 May, 2019 11 commits
  5. 30 Apr, 2019 3 commits
  6. 26 Apr, 2019 1 commit
  7. 25 Apr, 2019 6 commits
  8. 24 Apr, 2019 2 commits