From a5f3a212612d9e3ce9d745d34a64e87d151167e5 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 14 Jul 2022 14:26:53 +0200 Subject: [PATCH] radv: remove unused pCreateInfo from radv_pipeline_init_blend_state() I missed this one last time. Signed-off-by: Samuel Pitoiset Reviewed-By: Mike Blumenkrantz Part-of: --- src/amd/vulkan/radv_pipeline.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 48262300f0d..5dbdc8deb77 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -520,7 +520,6 @@ format_is_float32(VkFormat format) static void radv_pipeline_compute_spi_color_formats(const struct radv_graphics_pipeline *pipeline, - const VkGraphicsPipelineCreateInfo *pCreateInfo, struct radv_blend_state *blend, const struct vk_graphics_pipeline_state *state) { @@ -656,7 +655,6 @@ radv_blend_check_commutativity(struct radv_blend_state *blend, VkBlendOp op, VkB static struct radv_blend_state radv_pipeline_init_blend_state(struct radv_graphics_pipeline *pipeline, - const VkGraphicsPipelineCreateInfo *pCreateInfo, const struct vk_graphics_pipeline_state *state) { const struct radv_device *device = pipeline->base.device; @@ -826,7 +824,7 @@ radv_pipeline_init_blend_state(struct radv_graphics_pipeline *pipeline, else cb_color_control |= S_028808_MODE(V_028808_CB_DISABLE); - radv_pipeline_compute_spi_color_formats(pipeline, pCreateInfo, &blend, state); + radv_pipeline_compute_spi_color_formats(pipeline, &blend, state); pipeline->cb_color_control = cb_color_control; @@ -6519,7 +6517,7 @@ radv_graphics_pipeline_init(struct radv_graphics_pipeline *pipeline, struct radv if (result != VK_SUCCESS) return result; - struct radv_blend_state blend = radv_pipeline_init_blend_state(pipeline, pCreateInfo, &state); + struct radv_blend_state blend = radv_pipeline_init_blend_state(pipeline, &state); const VkPipelineCreationFeedbackCreateInfo *creation_feedback = vk_find_struct_const(pCreateInfo->pNext, PIPELINE_CREATION_FEEDBACK_CREATE_INFO);