radv,aco: decouple shader_info/options from radv_shader_args
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13287>
This commit is contained in:
committed by
Marge Bot
parent
1429feaf29
commit
8ec6824335
@@ -41,11 +41,17 @@ struct aco_compiler_statistic_info {
|
||||
extern const unsigned aco_num_statistics;
|
||||
extern const struct aco_compiler_statistic_info* aco_statistic_infos;
|
||||
|
||||
void aco_compile_shader(unsigned shader_count, struct nir_shader* const* shaders,
|
||||
struct radv_shader_binary** binary, const struct radv_shader_args* args);
|
||||
void aco_compile_shader(const struct radv_nir_compiler_options* options,
|
||||
const struct radv_shader_info* info,
|
||||
unsigned shader_count, struct nir_shader* const* shaders,
|
||||
const struct radv_shader_args *args,
|
||||
struct radv_shader_binary** binary);
|
||||
|
||||
void aco_compile_vs_prolog(const struct radv_vs_prolog_key* key, struct radv_prolog_binary** binary,
|
||||
const struct radv_shader_args* args);
|
||||
void aco_compile_vs_prolog(const struct radv_nir_compiler_options* options,
|
||||
const struct radv_shader_info* info,
|
||||
const struct radv_vs_prolog_key* key,
|
||||
const struct radv_shader_args* args,
|
||||
struct radv_prolog_binary** binary);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user