radv: Rename ac_arg_regfile
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 31 Oct 2019 14:23:35 +0000 (15:23 +0100)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 25 Nov 2019 13:12:46 +0000 (14:12 +0100)
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 <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_nir_to_llvm.c

index 37a07bc..148a571 100644 (file)
@@ -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);