From 6755b6315b209002f27671febdf2e196a66e3df4 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Fri, 20 Dec 2019 23:00:57 -0800 Subject: [PATCH] anv: Drop unused function parameter Reviewed-by: Eric Engestrom Reviewed-by: Lionel Landwerlin Reviewed-by: Jason Ekstrand --- src/intel/vulkan/genX_pipeline.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index b0bb1838cf2..be193b8da1b 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -1978,8 +1978,7 @@ emit_3dstate_ps(struct anv_pipeline *pipeline, #if GEN_GEN >= 8 static void emit_3dstate_ps_extra(struct anv_pipeline *pipeline, - struct anv_subpass *subpass, - const VkPipelineColorBlendStateCreateInfo *blend) + struct anv_subpass *subpass) { const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); @@ -2160,7 +2159,7 @@ genX(graphics_pipeline_create)( emit_3dstate_ps(pipeline, pCreateInfo->pColorBlendState, pCreateInfo->pMultisampleState); #if GEN_GEN >= 8 - emit_3dstate_ps_extra(pipeline, subpass, pCreateInfo->pColorBlendState); + emit_3dstate_ps_extra(pipeline, subpass); emit_3dstate_vf_topology(pipeline); #endif emit_3dstate_vf_statistics(pipeline); -- 2.30.2