1. 18 Jun, 2019 1 commit
    • Vulkan: Correct synchronization for buffer readback · b1c8dbf3
      Shahbaz Youssefi authored
      When mapping buffer memory, a flush is performed if the buffer has
      pending operations followed by a finishToSerial to make sure the buffer
      is no longer in use by the GPU.
      
      This also implements GLES 3.0 buffer mapping flags:
      
      GL_MAP_INVALIDATE_RANGE_BIT: No-op. Vulkan's vkMapMemory doesn't have
      such a feature.
      
      GL_MAP_INVALIDATE_BUFFER_BIT: Same
      
      GL_MAP_FLUSH_EXPLICIT_BIT: Vulkan automatically flushes host memory
      writes on vkQueueSubmit, so this is no-op as well.
      
      GL_MAP_UNSYNCHRONIZED_BIT: The flush+finishToSerial call is skipped in
      this case.
      
      Bug: angleproject:3213
      Change-Id: I6bdb460dffbb57170649f4c9678afbfae331926c
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1661252
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
  2. 17 Jun, 2019 11 commits
  3. 14 Jun, 2019 7 commits
  4. 13 Jun, 2019 14 commits
  5. 12 Jun, 2019 5 commits
  6. 11 Jun, 2019 2 commits