OSDN Git Service

Update and Fill Buffers
authorAlexis Hetu <sugoi@google.com>
Thu, 7 Feb 2019 18:50:10 +0000 (13:50 -0500)
committerAlexis Hétu <sugoi@google.com>
Fri, 8 Feb 2019 01:55:46 +0000 (01:55 +0000)
commit7fb0b73b1aa74b33c08258cef1fe800dc8a94e26
treee3fa47d1ac97c47161f127f1fa32e8cd9fb96c44
parentc81766320762e6a67dad91e6a41304f8713bc7d1
Update and Fill Buffers

Implemented vkCmdUpdateBuffer and vkCmdFillBuffer.

Passes all tests in:
dEQP-VK.api.fill_and_update_buffer.*

Bug b/118619338 b/118383648

Change-Id: I3cf317b4cb766618a54b2550019ac2702c24bfed
Reviewed-on: https://swiftshader-review.googlesource.com/c/24529
Tested-by: Alexis Hétu <sugoi@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
src/Vulkan/VkBuffer.cpp
src/Vulkan/VkBuffer.hpp
src/Vulkan/VkCommandBuffer.cpp