diff options
author | Jason Ekstrand <[email protected]> | 2016-01-14 07:45:15 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-01-14 07:45:15 -0800 |
commit | f6cae9929441da7c851372a2433b91be8d9ff317 (patch) | |
tree | d4315a8134954ddfdd82a6e141eda179054b4dff /src/vulkan | |
parent | f99f84741228248b6e41470543ea2c2b29628dec (diff) |
vulkan-1.0.0: Split out command buffer inheritance info
Diffstat (limited to 'src/vulkan')
-rw-r--r-- | src/vulkan/anv_cmd_buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |