From 84a2cea59695f09662be4e76955fcfa56b30ac6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timur=20Krist=C3=B3f?= Date: Fri, 3 Mar 2023 11:25:21 -0800 Subject: aco, radv: Rename aco_*_key to aco_*_info. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The naming of aco_*_key didn't make sense because they were never actually used as cache keys, only radv_*_key are used as cache keys. Rename the aco structs to aco_*_info instead. Signed-off-by: Timur Kristóf Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_ir.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'src/amd/compiler/aco_ir.h') diff --git a/src/amd/compiler/aco_ir.h b/src/amd/compiler/aco_ir.h index d512de53b11..2fc85798ac7 100644 --- a/src/amd/compiler/aco_ir.h +++ b/src/amd/compiler/aco_ir.h @@ -2198,18 +2198,14 @@ void select_trap_handler_shader(Program* program, struct nir_shader* shader, const struct aco_compiler_options* options, const struct aco_shader_info* info, const struct radv_shader_args* args); -void select_vs_prolog(Program* program, const struct aco_vs_prolog_key* key, - ac_shader_config* config, - const struct aco_compiler_options* options, - const struct aco_shader_info* info, - const struct radv_shader_args* args, +void select_vs_prolog(Program* program, const struct aco_vs_prolog_info* pinfo, + ac_shader_config* config, const struct aco_compiler_options* options, + const struct aco_shader_info* info, const struct radv_shader_args* args, unsigned* num_preserved_sgprs); -void select_ps_epilog(Program* program, const struct aco_ps_epilog_key* key, - ac_shader_config* config, - const struct aco_compiler_options* options, - const struct aco_shader_info* info, - const struct radv_shader_args* args); +void select_ps_epilog(Program* program, const struct aco_ps_epilog_info* epilog_info, + ac_shader_config* config, const struct aco_compiler_options* options, + const struct aco_shader_info* info, const struct radv_shader_args* args); void lower_phis(Program* program); void calc_min_waves(Program* program); -- cgit v1.2.1