From dd70ff3b8c45ed0905d163da676116366eab8234 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 1 Oct 2021 14:19:24 -0400 Subject: [PATCH] lavapipe: remove some unused struct members Reviewed-by: Dave Airlie Part-of: --- src/gallium/frontends/lavapipe/lvp_pass.c | 1 - src/gallium/frontends/lavapipe/lvp_private.h | 2 -- 2 files changed, 3 deletions(-) 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;