ac/nir: Add bool return value to ac_nir_lower_legacy_gs.

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:12:18 +01:00
parent d8ad068968
commit fad58a99e8
2 changed files with 4 additions and 2 deletions

View File

@@ -251,7 +251,7 @@ ac_nir_lower_legacy_vs(nir_shader *nir,
bool kill_layer,
bool force_vrs);
void
bool
ac_nir_lower_legacy_gs(nir_shader *nir,
bool has_gen_prim_query,
bool has_pipeline_stats_query,

View File

@@ -229,7 +229,7 @@ lower_legacy_gs_intrinsic(nir_builder *b, nir_intrinsic_instr *intrin, void *sta
return false;
}
void
bool
ac_nir_lower_legacy_gs(nir_shader *nir,
bool has_gen_prim_query,
bool has_pipeline_stats_query,
@@ -286,4 +286,6 @@ ac_nir_lower_legacy_gs(nir_shader *nir,
if (progress)
nir_metadata_preserve(impl, nir_metadata_none);
return true;
}