From 14e40cd8e605423e8b3d4d7cb7a7589149b4ff50 Mon Sep 17 00:00:00 2001 From: Vivek Pandya Date: Mon, 7 Sep 2020 21:19:43 +0530 Subject: [PATCH 1/1] Added few more stubs so that control reaches to DestroyDevice(). --- src/libre-soc/vulkan/libresoc_cmd_buffer.c | 28 ++++++++++++++++++++++ src/libre-soc/vulkan/libresoc_device.c | 7 ++++++ 2 files changed, 35 insertions(+) diff --git a/src/libre-soc/vulkan/libresoc_cmd_buffer.c b/src/libre-soc/vulkan/libresoc_cmd_buffer.c index a865f5bd816..2782653eee2 100644 --- a/src/libre-soc/vulkan/libresoc_cmd_buffer.c +++ b/src/libre-soc/vulkan/libresoc_cmd_buffer.c @@ -28,6 +28,34 @@ #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, diff --git a/src/libre-soc/vulkan/libresoc_device.c b/src/libre-soc/vulkan/libresoc_device.c index 303a69a9beb..546f175c7d8 100644 --- a/src/libre-soc/vulkan/libresoc_device.c +++ b/src/libre-soc/vulkan/libresoc_device.c @@ -1751,3 +1751,10 @@ void libresoc_DestroyFence( VkFence _fence, const VkAllocationCallbacks* pAllocator) {} + + +void libresoc_DestroySemaphore( + VkDevice _device, + VkSemaphore _semaphore, + const VkAllocationCallbacks* pAllocator) +{} -- 2.30.2