diff --git a/src/gallium/frontends/lavapipe/lvp_pass.c b/src/gallium/frontends/lavapipe/lvp_pass.c index 3e5cbe3c78f..475a95e0efb 100644 --- a/src/gallium/frontends/lavapipe/lvp_pass.c +++ b/src/gallium/frontends/lavapipe/lvp_pass.c @@ -124,8 +124,6 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateRenderPass2( for (uint32_t j = 0; j < desc->colorAttachmentCount; j++) { CHECK_UNUSED_ATTACHMENT(pColorAttachments, color_attachments, j); - if (subpass->color_attachments[j]) - subpass->has_color_att = true; } } diff --git a/src/gallium/frontends/lavapipe/lvp_private.h b/src/gallium/frontends/lavapipe/lvp_private.h index bb05a2a3b52..c182006aa09 100644 --- a/src/gallium/frontends/lavapipe/lvp_private.h +++ b/src/gallium/frontends/lavapipe/lvp_private.h @@ -281,9 +281,6 @@ struct lvp_subpass { /** Subpass has at least one color resolve attachment */ bool has_color_resolve; - /** Subpass has at least one color attachment */ - bool has_color_att; - uint32_t view_mask; };