From: Chad Versace Date: Tue, 7 Jul 2015 22:51:55 +0000 (-0700) Subject: vk/0.130: Stub vkCmdExecuteCommands() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dff32238c760c45756cf8d621d113115c021f026;p=mesa.git vk/0.130: Stub vkCmdExecuteCommands() --- 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)