Added few more stubs so that control reaches to DestroyDevice(). master
authorVivek Pandya <vivekvpandya@gmail.com>
Mon, 7 Sep 2020 15:49:43 +0000 (21:19 +0530)
committerVivek Pandya <vivekvpandya@gmail.com>
Mon, 7 Sep 2020 15:55:17 +0000 (21:25 +0530)
src/libre-soc/vulkan/libresoc_cmd_buffer.c
src/libre-soc/vulkan/libresoc_device.c

index a865f5b..2782653 100644 (file)
 
 #include "libresoc_private.h"
 
+void libresoc_CmdEndRenderPass(
+       VkCommandBuffer                             commandBuffer)
+{}
+
+void libresoc_CmdDraw(
+       VkCommandBuffer                             commandBuffer,
+       uint32_t                                    vertexCount,
+       uint32_t                                    instanceCount,
+       uint32_t                                    firstVertex,
+       uint32_t                                    firstInstance)
+{
+}
+
+void libresoc_CmdBindPipeline(
+       VkCommandBuffer                             commandBuffer,
+       VkPipelineBindPoint                         pipelineBindPoint,
+       VkPipeline                                  _pipeline)
+{
+}
+
+
+void libresoc_CmdBeginRenderPass(
+       VkCommandBuffer                             commandBuffer,
+       const VkRenderPassBeginInfo*                pRenderPassBegin,
+       VkSubpassContents                           contents)
+{
+}
+
 void libresoc_FreeCommandBuffers(
        VkDevice device,
        VkCommandPool commandPool,
index 303a69a..546f175 100644 (file)
@@ -1751,3 +1751,10 @@ void libresoc_DestroyFence(
        VkFence                                     _fence,
        const VkAllocationCallbacks*                pAllocator)
 {}
+
+
+void libresoc_DestroySemaphore(
+       VkDevice                                    _device,
+       VkSemaphore                                 _semaphore,
+       const VkAllocationCallbacks*                pAllocator)
+{}