OSDN Git Service

vkCmdDraw implementation
authorAlexis Hetu <sugoi@google.com>
Fri, 7 Dec 2018 21:26:05 +0000 (16:26 -0500)
committerAlexis Hétu <sugoi@google.com>
Wed, 12 Dec 2018 13:21:19 +0000 (13:21 +0000)
commitc65473dcfe29a18e94f781f2f176ff44a778993d
tree2bc1380eb1a1db001748895cdb4118c0f1a9279c
parent9bc7a81436a05de2261b50708e3394580bcecf19
vkCmdDraw implementation

Piped all the information from the vertex buffers and
the pipeline to the renderer to perform a draw.

In order for the renderer and the context to have proper
lifetimes, they both reside in the Queue object for now.

Bug b/118619338

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