anv: rename vertex input emission helper

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36512>
This commit is contained in:
Lionel Landwerlin
2025-02-15 19:43:18 +02:00
committed by Marge Bot
parent f156af9ec6
commit 49ddb92fe4
3 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -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,
+2 -2
View File
@@ -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)) {
+4 -4
View File
@@ -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;