From dff32238c760c45756cf8d621d113115c021f026 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 7 Jul 2015 15:51:55 -0700 Subject: [PATCH] vk/0.130: Stub vkCmdExecuteCommands() --- include/vulkan/vulkan.h | 5 +++++ src/vulkan/device.c | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index e8e117edff5..f8f30aa205f 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1998,6 +1998,7 @@ typedef VkResult (VKAPI *PFN_vkCreateFramebuffer)(VkDevice device, const VkFrame typedef VkResult (VKAPI *PFN_vkCreateRenderPass)(VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, VkRenderPass* pRenderPass); typedef void (VKAPI *PFN_vkCmdBeginRenderPass)(VkCmdBuffer cmdBuffer, const VkRenderPassBegin* pRenderPassBegin); typedef void (VKAPI *PFN_vkCmdEndRenderPass)(VkCmdBuffer cmdBuffer, VkRenderPass renderPass); +typedef void (VKAPI *PFN_vkCmdExecuteCommands)(VkCmdBuffer cmdBuffer, uint32_t cmdBuffersCount, const VkCmdBuffer* pCmdBuffers); #ifdef VK_PROTOTYPES VkResult VKAPI vkCreateInstance( @@ -2604,6 +2605,10 @@ void VKAPI vkCmdEndRenderPass( VkCmdBuffer cmdBuffer, VkRenderPass renderPass); +void VKAPI vkCmdExecuteCommands( + VkCmdBuffer cmdBuffer, + uint32_t cmdBuffersCount, + const VkCmdBuffer* pCmdBuffers); #endif #ifdef __cplusplus diff --git a/src/vulkan/device.c b/src/vulkan/device.c index cc00057b826..4c0082779a8 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -3746,6 +3746,14 @@ void anv_CmdEndRenderPass( .CommandStreamerStallEnable = true); } +void anv_CmdExecuteCommands( + VkCmdBuffer cmdBuffer, + uint32_t cmdBuffersCount, + const VkCmdBuffer* pCmdBuffers) +{ + stub(); +} + void vkCmdDbgMarkerBegin( VkCmdBuffer cmdBuffer, const char* pMarker) -- 2.30.2