diff options
author | Chad Versace <[email protected]> | 2016-06-22 09:17:41 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-06-23 16:10:25 -0700 |
commit | a0f3c3c9d4002ffc1dd987c816a1462e4a91a5f4 (patch) | |
tree | fcc04d5d3579377e18ffabb7a8925a3cc0b0a8a2 /src/intel/vulkan/anv_pass.c | |
parent | 15d3777b743939062b4f5626cf921631bb764e44 (diff) |
anv: Add anv_render_pass_attachment::store_op
Will be needed for resolving auxiliary surfaces.
I didn't add anv_render_pass_attachment::stencil_store_op, as the driver
would likely never use it, as stencil surfaces never have auxiliary
surfaces.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_pass.c')
-rw-r--r-- | src/intel/vulkan/anv_pass.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_pass.c b/src/intel/vulkan/anv_pass.c index b7407548779..69c3c7e96b7 100644 --- a/src/intel/vulkan/anv_pass.c +++ b/src/intel/vulkan/anv_pass.c @@ -60,9 +60,8 @@ VkResult anv_CreateRenderPass( att->format = pCreateInfo->pAttachments[i].format; att->samples = pCreateInfo->pAttachments[i].samples; att->load_op = pCreateInfo->pAttachments[i].loadOp; + att->store_op = pCreateInfo->pAttachments[i].storeOp; att->stencil_load_op = pCreateInfo->pAttachments[i].stencilLoadOp; - // att->store_op = pCreateInfo->pAttachments[i].storeOp; - // att->stencil_store_op = pCreateInfo->pAttachments[i].stencilStoreOp; } uint32_t subpass_attachment_count = 0, *p; |