From 49ddb92fe4314eedc88419d4ffcbbc22d9820c29 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sat, 15 Feb 2025 19:43:18 +0200 Subject: [PATCH] anv: rename vertex input emission helper Signed-off-by: Lionel Landwerlin Reviewed-by: Ivan Briano Part-of: --- src/intel/vulkan/anv_genX.h | 8 ++++---- src/intel/vulkan/genX_gfx_state.c | 4 ++-- src/intel/vulkan/genX_pipeline.c | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/intel/vulkan/anv_genX.h b/src/intel/vulkan/anv_genX.h index 93ebbf779b9..820283d70b9 100644 --- a/src/intel/vulkan/anv_genX.h +++ b/src/intel/vulkan/anv_genX.h @@ -102,10 +102,10 @@ void genX(emit_pipeline_select)(struct anv_batch *batch, uint32_t pipeline, void genX(apply_task_urb_workaround)(struct anv_cmd_buffer *cmd_buffer); -void genX(batch_emit_vertex_input)(struct anv_batch *batch, - struct anv_device *device, - struct anv_graphics_pipeline *pipeline, - const struct vk_vertex_input_state *vi); +void genX(batch_emit_pipeline_vertex_input)(struct anv_batch *batch, + struct anv_device *device, + struct anv_graphics_pipeline *pipeline, + const struct vk_vertex_input_state *vi); enum anv_pipe_bits genX(emit_apply_pipe_flushes)(struct anv_batch *batch, diff --git a/src/intel/vulkan/genX_gfx_state.c b/src/intel/vulkan/genX_gfx_state.c index 5c61b96ebab..618d531c545 100644 --- a/src/intel/vulkan/genX_gfx_state.c +++ b/src/intel/vulkan/genX_gfx_state.c @@ -2638,8 +2638,8 @@ cmd_buffer_gfx_state_emission(struct anv_cmd_buffer *cmd_buffer) } if (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VERTEX_INPUT)) { - genX(batch_emit_vertex_input)(&cmd_buffer->batch, device, - pipeline, dyn->vi); + genX(batch_emit_pipeline_vertex_input)(&cmd_buffer->batch, device, + pipeline, dyn->vi); } if (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_TE)) { diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 5aadde4a240..b3071c16015 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -277,10 +277,10 @@ emit_ves_vf_instancing(struct anv_batch *batch, } void -genX(batch_emit_vertex_input)(struct anv_batch *batch, - struct anv_device *device, - struct anv_graphics_pipeline *pipeline, - const struct vk_vertex_input_state *vi) +genX(batch_emit_pipeline_vertex_input)(struct anv_batch *batch, + struct anv_device *device, + struct anv_graphics_pipeline *pipeline, + const struct vk_vertex_input_state *vi) { const uint32_t ve_count = pipeline->vs_input_elements + pipeline->svgs_count;