ac/nir: Move ac_nir_gs_shader_query declaration to ac_nir_helpers.h
This is a helper function, so drivers don't need to call it. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32966>
This commit is contained in:
@@ -263,16 +263,6 @@ ac_nir_lower_legacy_vs(nir_shader *nir,
|
||||
bool kill_layer,
|
||||
bool force_vrs);
|
||||
|
||||
bool
|
||||
ac_nir_gs_shader_query(nir_builder *b,
|
||||
bool has_gen_prim_query,
|
||||
bool has_gs_invocations_query,
|
||||
bool has_gs_primitives_query,
|
||||
unsigned num_vertices_per_primitive,
|
||||
unsigned wave_size,
|
||||
nir_def *vertex_count[4],
|
||||
nir_def *primitive_count[4]);
|
||||
|
||||
void
|
||||
ac_nir_lower_legacy_gs(nir_shader *nir,
|
||||
bool has_gen_prim_query,
|
||||
|
@@ -164,6 +164,16 @@ ac_get_global_ids(nir_builder *b, unsigned num_components, unsigned bit_size);
|
||||
void
|
||||
ac_nir_emit_legacy_streamout(nir_builder *b, unsigned stream, nir_xfb_info *info, ac_nir_prerast_out *out);
|
||||
|
||||
bool
|
||||
ac_nir_gs_shader_query(nir_builder *b,
|
||||
bool has_gen_prim_query,
|
||||
bool has_gs_invocations_query,
|
||||
bool has_gs_primitives_query,
|
||||
unsigned num_vertices_per_primitive,
|
||||
unsigned wave_size,
|
||||
nir_def *vertex_count[4],
|
||||
nir_def *primitive_count[4]);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user