diff --git a/src/gallium/frontends/lavapipe/lvp_pass.c b/src/gallium/frontends/lavapipe/lvp_pass.c index 22b729d6e7b..c3902fa84b7 100644 --- a/src/gallium/frontends/lavapipe/lvp_pass.c +++ b/src/gallium/frontends/lavapipe/lvp_pass.c @@ -187,7 +187,6 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateRenderPass2( att->samples = pCreateInfo->pAttachments[i].samples; att->load_op = pCreateInfo->pAttachments[i].loadOp; att->stencil_load_op = pCreateInfo->pAttachments[i].stencilLoadOp; - att->final_layout = pCreateInfo->pAttachments[i].finalLayout; att->first_subpass_idx = UINT32_MAX; bool is_zs = util_format_is_depth_or_stencil(lvp_vk_format_to_pipe_format(att->format)); diff --git a/src/gallium/frontends/lavapipe/lvp_private.h b/src/gallium/frontends/lavapipe/lvp_private.h index 17e24d26e91..34881d3a6d3 100644 --- a/src/gallium/frontends/lavapipe/lvp_private.h +++ b/src/gallium/frontends/lavapipe/lvp_private.h @@ -295,8 +295,6 @@ struct lvp_render_pass_attachment { uint32_t samples; VkAttachmentLoadOp load_op; VkAttachmentLoadOp stencil_load_op; - VkImageLayout initial_layout; - VkImageLayout final_layout; /* The subpass id in which the attachment will be used first/last. */ uint32_t first_subpass_idx;