From f6cae9929441da7c851372a2433b91be8d9ff317 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 14 Jan 2016 07:45:15 -0800 Subject: vulkan-1.0.0: Split out command buffer inheritance info --- src/vulkan/anv_cmd_buffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vulkan/anv_cmd_buffer.c') diff --git a/src/vulkan/anv_cmd_buffer.c b/src/vulkan/anv_cmd_buffer.c index 91e97372b2e..8cf4dc7202c 100644 --- a/src/vulkan/anv_cmd_buffer.c +++ b/src/vulkan/anv_cmd_buffer.c @@ -304,12 +304,12 @@ VkResult anv_BeginCommandBuffer( if (cmd_buffer->usage_flags & VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT) { cmd_buffer->state.framebuffer = - anv_framebuffer_from_handle(pBeginInfo->framebuffer); + anv_framebuffer_from_handle(pBeginInfo->pInheritanceInfo->framebuffer); cmd_buffer->state.pass = - anv_render_pass_from_handle(pBeginInfo->renderPass); + anv_render_pass_from_handle(pBeginInfo->pInheritanceInfo->renderPass); struct anv_subpass *subpass = - &cmd_buffer->state.pass->subpasses[pBeginInfo->subpass]; + &cmd_buffer->state.pass->subpasses[pBeginInfo->pInheritanceInfo->subpass]; anv_cmd_buffer_begin_subpass(cmd_buffer, subpass); } -- cgit v1.2.3