Module: Mesa
Branch: main
Commit: b0f53c3a4803c07eca38e4d772b7fb2115d1d1c6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0f53c3a4803c07eca38e4d772b7fb2115d1d1c6

Author: Samuel Pitoiset <[email protected]>
Date:   Thu Jul 20 09:18:32 2023 +0200

radv: remove unused param in radv_pipeline_emit_vgt_gs_out()

Also rename the function.

Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24251>

---

 src/amd/vulkan/radv_pipeline_graphics.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/amd/vulkan/radv_pipeline_graphics.c 
b/src/amd/vulkan/radv_pipeline_graphics.c
index 43fb7627bef..4eb83432477 100644
--- a/src/amd/vulkan/radv_pipeline_graphics.c
+++ b/src/amd/vulkan/radv_pipeline_graphics.c
@@ -3458,8 +3458,7 @@ radv_emit_vgt_shader_config(const struct radv_device 
*device, struct radeon_cmdb
 }
 
 static void
-radv_pipeline_emit_vgt_gs_out(const struct radv_device *device, struct 
radeon_cmdbuf *ctx_cs,
-                              const struct radv_graphics_pipeline *pipeline, 
uint32_t vgt_gs_out_prim_type)
+radv_emit_vgt_gs_out(const struct radv_device *device, struct radeon_cmdbuf 
*ctx_cs, uint32_t vgt_gs_out_prim_type)
 {
    const struct radv_physical_device *pdevice = device->physical_device;
 
@@ -3606,7 +3605,7 @@ radv_pipeline_emit_pm4(const struct radv_device *device, 
struct radv_graphics_pi
 
    radv_emit_vgt_vertex_reuse(device, ctx_cs, 
radv_get_shader(pipeline->base.shaders, MESA_SHADER_TESS_EVAL));
    radv_emit_vgt_shader_config(device, ctx_cs, &vgt_shader_key);
-   radv_pipeline_emit_vgt_gs_out(device, ctx_cs, pipeline, 
vgt_gs_out_prim_type);
+   radv_emit_vgt_gs_out(device, ctx_cs, vgt_gs_out_prim_type);
 
    if (pdevice->rad_info.gfx_level >= GFX10_3) {
       gfx103_pipeline_emit_vgt_draw_payload_cntl(ctx_cs, pipeline, state);

Reply via email to