ac/nir: Add bool return value to ac_nir_lower_mesh_inputs_to_mem.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33609>
This commit is contained in:
Timur Kristóf 2025-02-18 17:10:36 +01:00
parent 9e7609b0ff
commit 407aedeff8
2 changed files with 6 additions and 6 deletions

View file

@ -200,7 +200,7 @@ ac_nir_lower_task_outputs_to_mem(nir_shader *shader,
unsigned task_num_entries,
bool has_query);
void
bool
ac_nir_lower_mesh_inputs_to_mem(nir_shader *shader,
unsigned task_payload_entry_bytes,
unsigned task_num_entries);

View file

@ -338,7 +338,7 @@ lower_mesh_intrinsics(nir_builder *b,
unreachable("unsupported mesh shader intrinsic");
}
void
bool
ac_nir_lower_mesh_inputs_to_mem(nir_shader *shader,
unsigned task_payload_entry_bytes,
unsigned task_num_entries)
@ -351,8 +351,8 @@ ac_nir_lower_mesh_inputs_to_mem(nir_shader *shader,
.num_entries = task_num_entries,
};
nir_shader_lower_instructions(shader,
filter_mesh_input_load,
lower_mesh_intrinsics,
&state);
return nir_shader_lower_instructions(shader,
filter_mesh_input_load,
lower_mesh_intrinsics,
&state);
}