BindGraphicsPipeline

pull/8/head
cosmonaut 2020-12-19 23:17:55 -08:00
parent bedc1f7196
commit 47823c67ac
1 changed files with 8 additions and 0 deletions

View File

@ -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);
}