1. 25 Sep, 2018 3 commits
    • Vulkan: Translate line loop indices from buffer. · 85c4b43e
      Frank Henigman authored
      When a line loop is drawn with byte indices from a buffer, translate
      to short.  Enable test.
      
      BUG=angleproject:2802
      
      Change-Id: Ie178ec866387be85b91291c28e1978db0a09c20a
      Reviewed-on: https://chromium-review.googlesource.com/1237293Reviewed-by: 's avatarFrank Henigman <fjhenigman@chromium.org>
      Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
    • Avoid flush/invalidate of host-coherent memory · f5aad063
      Tobin Ehlis authored
      For DynamicBuffer avoid calling vkFlushMappedMemoryRanges() or
      vkInvalidateMappedMemoryRanges() if the underlying memory is host-
      coherent. These calls are not required for host-coherent memory and
      may negatively impact performance.
      
      When currently allocating HOST_VISIBLE memory it's possible to also get
      HOST_COHERENT memory even though it's not explicitly requested. Because
      of this, the change updates the memory allocaiton interfaces through
      the stack to pass back the actual allocated memory properties so that
      it can be checked to see if it's host-coherent.
      
      Bug: angleproject:2804
      Change-Id: Ife95c4b98115b16d16c087dd72dba7d9661fdb46
      Reviewed-on: https://chromium-review.googlesource.com/1234276
      Commit-Queue: Tobin Ehlis <tobine@google.com>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    • Vulkan: Merge append/beginWriteResource. · e2d2270a
      Jamie Madill authored
      The new API is named 'recordCommands'.
      
      These two APIs were basically doing the same thing. We don't need to
      have an understanding of creating a new graph node to know that we
      want to record some Vulkan commands to a command buffer. The prior
      design was actually masking a bug where we would allow appending
      commands to a command graph node that had already started a render
      pass. Fix this by adding a render pass check to recordCommands.
      
      Also removes 'hasStartedWriteResource' since this method wasn't used
      anywhere.
      
      Also renames 'onResourceChanged' to 'finishCurrentCommands'.
      
      Bug: angleproject:2828
      Change-Id: I00bd5b893fcfc37172b6c1706cb2f5fc57e79f54
      Reviewed-on: https://chromium-review.googlesource.com/1235654
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarFrank Henigman <fjhenigman@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
  2. 24 Sep, 2018 3 commits
  3. 22 Sep, 2018 1 commit
  4. 21 Sep, 2018 8 commits
  5. 20 Sep, 2018 2 commits
  6. 19 Sep, 2018 10 commits
  7. 18 Sep, 2018 5 commits
  8. 17 Sep, 2018 6 commits
  9. 14 Sep, 2018 2 commits