From: Vivek Pandya Date: Mon, 7 Sep 2020 15:49:43 +0000 (+0530) Subject: Added few more stubs so that control reaches to DestroyDevice(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;ds=sidebyside;p=mesa.git Added few more stubs so that control reaches to DestroyDevice(). --- 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) +{}