mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
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:
parent
407aedeff8
commit
d8ad068968
2 changed files with 4 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue