summaryrefslogtreecommitdiff
path: root/src/amd/compiler/aco_ir.h
diff options
context:
space:
mode:
authorTimur Kristóf <timur.kristof@gmail.com>2023-03-03 11:25:21 -0800
committerMarge Bot <emma+marge@anholt.net>2023-03-08 04:39:18 +0000
commit84a2cea59695f09662be4e76955fcfa56b30ac6f (patch)
treeb051a2794639389ff525a232a427d85aabccb82e /src/amd/compiler/aco_ir.h
parent91e68db0e18b8016b4f8a1946aa07ee194f19b0f (diff)
downloadmesa-84a2cea59695f09662be4e76955fcfa56b30ac6f.tar.gz
aco, radv: Rename aco_*_key to aco_*_info.
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 <timur.kristof@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21696>
Diffstat (limited to 'src/amd/compiler/aco_ir.h')
-rw-r--r--src/amd/compiler/aco_ir.h16
1 files changed, 6 insertions, 10 deletions
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);