radv: remove unused param from radv_pipeline_init_multisample_state()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 10 Aug 2023 12:21:50 +0000 (14:21 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Aug 2023 09:31:23 +0000 (09:31 +0000)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24691>

src/amd/vulkan/radv_pipeline_graphics.c

index 585fc74..65b449f 100644 (file)
@@ -311,7 +311,7 @@ radv_pipeline_uses_vrs_attachment(const struct radv_graphics_pipeline *pipeline,
 static void
 radv_pipeline_init_multisample_state(const struct radv_device *device, struct radv_graphics_pipeline *pipeline,
                                      const VkGraphicsPipelineCreateInfo *pCreateInfo,
-                                     const struct vk_graphics_pipeline_state *state, unsigned rast_prim)
+                                     const struct vk_graphics_pipeline_state *state)
 {
    struct radv_multisample_state *ms = &pipeline->ms;
 
@@ -3952,7 +3952,7 @@ radv_graphics_pipeline_init(struct radv_graphics_pipeline *pipeline, struct radv
 
    uint32_t vgt_gs_out_prim_type = radv_pipeline_init_vgt_gs_out(pipeline, &state);
 
-   radv_pipeline_init_multisample_state(device, pipeline, pCreateInfo, &state, vgt_gs_out_prim_type);
+   radv_pipeline_init_multisample_state(device, pipeline, pCreateInfo, &state);
 
    if (!radv_pipeline_has_stage(pipeline, MESA_SHADER_MESH))
       radv_pipeline_init_input_assembly_state(device, pipeline);