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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user