OSDN Git Service

Fixed command buffer reset and added implicit reset
authorAlexis Hetu <sugoi@google.com>
Mon, 10 Dec 2018 19:41:03 +0000 (14:41 -0500)
committerAlexis Hétu <sugoi@google.com>
Tue, 11 Dec 2018 16:51:47 +0000 (16:51 +0000)
commitd2791c205bca2e172ff2bb4eb06a875c0490514f
tree0c5fefa68364da5fb269ab748c94d571f61602dd
parenta233ceaecd8531866d5551ee1dd3485339cfc495
Fixed command buffer reset and added implicit reset

A call to vkBeginCommandBuffer implicitly resets the command buffer.

Bug b/118619338

Change-Id: I020a2d15915cbb309dbcd012b2dbbf34ca2f63c6
Reviewed-on: https://swiftshader-review.googlesource.com/c/23148
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Corentin Wallez <cwallez@google.com>
src/Vulkan/VkCommandBuffer.cpp
src/Vulkan/VkCommandBuffer.hpp