From 43da33c1695132ee094aac80991852c4954bf758 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Thu, 31 Oct 2019 15:23:35 +0100 Subject: [PATCH] radv: Rename ac_arg_regfile We'll duplicate this in a header file in the next commit, and then remove the original enum. Just rename it temporarily so that things keep building. Reviewed-by: Samuel Pitoiset --- src/amd/vulkan/radv_nir_to_llvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index 37a07bcb339..148a571fc79 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -355,13 +355,13 @@ struct arg_info { uint8_t num_vgprs_used; }; -enum ac_arg_regfile { +enum radv_arg_regfile { ARG_SGPR, ARG_VGPR, }; static void -add_arg(struct arg_info *info, enum ac_arg_regfile regfile, LLVMTypeRef type, +add_arg(struct arg_info *info, enum radv_arg_regfile regfile, LLVMTypeRef type, LLVMValueRef *param_ptr) { assert(info->count < MAX_ARGS); -- 2.30.2