mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
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:
parent
9e7609b0ff
commit
407aedeff8
2 changed files with 6 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue