summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2019-10-31 15:23:35 +0100
committerConnor Abbott <[email protected]>2019-11-25 14:12:46 +0100
commit43da33c1695132ee094aac80991852c4954bf758 (patch)
treef2604c70fa9a1205e42a1e6e4fd236aad5ed34e5 /src
parent29081c671f65b8ab0a1ec50dda47f58f2faf2468 (diff)
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_nir_to_llvm.c4
1 files 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);