From 47823c67aca2cdf192fdf5f3df97a9cd742e572f Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Sat, 19 Dec 2020 23:17:55 -0800 Subject: [PATCH] BindGraphicsPipeline --- src/Refresh_Driver_Vulkan.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Refresh_Driver_Vulkan.c b/src/Refresh_Driver_Vulkan.c index 59226bb..4c1819b 100644 --- a/src/Refresh_Driver_Vulkan.c +++ b/src/Refresh_Driver_Vulkan.c @@ -3876,6 +3876,14 @@ static void VULKAN_BindGraphicsPipeline( REFRESH_Renderer *driverData, REFRESH_GraphicsPipeline *graphicsPipeline ) { + VulkanRenderer* renderer = (VulkanRenderer*) driverData; + VulkanGraphicsPipeline* pipeline = (VulkanGraphicsPipeline*) graphicsPipeline; + + RECORD_CMD(renderer->vkCmdBindPipeline( + renderer->currentCommandBuffer, + VK_PIPELINE_BIND_POINT_GRAPHICS, + pipeline->pipeline + )); SDL_assert(0); }