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 a865f5bd816b4534f760ca4f67be933f9d9ca93f..2782653eee2a8d4aad0a087e671d01ab1fd27d9a 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 303a69a9beb3d5d38a6abf7d3efbc133f0a952fb..546f175c7d8bc922fb199c847ee8cfdcd7822c84 100644 (file)
@@ -1751,3 +1751,10 @@ void libresoc_DestroyFence(
        VkFence                                     _fence,
        const VkAllocationCallbacks*                pAllocator)
 {}
+
+
+void libresoc_DestroySemaphore(
+       VkDevice                                    _device,
+       VkSemaphore                                 _semaphore,
+       const VkAllocationCallbacks*                pAllocator)
+{}