ac/nir: Add bool return value to ac_nir_lower_legacy_vs.

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:11:19 +01:00
parent 407aedeff8
commit d8ad068968
2 changed files with 4 additions and 2 deletions

View file

@ -239,7 +239,7 @@ ac_nir_create_gs_copy_shader(const nir_shader *gs_nir,
bool force_vrs,
ac_nir_gs_output_info *output_info);
void
bool
ac_nir_lower_legacy_vs(nir_shader *nir,
enum amd_gfx_level gfx_level,
uint32_t clip_cull_mask,

View file

@ -32,7 +32,7 @@ gather_outputs(nir_builder *b, nir_function_impl *impl, ac_nir_prerast_out *out)
}
}
void
bool
ac_nir_lower_legacy_vs(nir_shader *nir,
enum amd_gfx_level gfx_level,
uint32_t clip_cull_mask,
@ -90,4 +90,6 @@ ac_nir_lower_legacy_vs(nir_shader *nir,
}
nir_metadata_preserve(impl, nir_metadata_none);
return true;
}