diff options
author | Dave Airlie <[email protected]> | 2018-07-03 09:39:27 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-07-04 05:31:32 +1000 |
commit | 0eb65b49442888ec45895b1aa5c0f8087361364f (patch) | |
tree | d7736b08a985125065e553222fe56ea55c39d5ab /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | 887ba45c93b0a8cab664d1cd0bff104c862c479d (diff) |
radeonsi: rename si_compiler -> ac_llvm_compiler
As precursor to moving init to common code, just rename the struct
and move it.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 0f58286fed1..f4bed98e841 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -105,7 +105,7 @@ static const struct debug_named_value debug_options[] = { }; static void si_init_compiler(struct si_screen *sscreen, - struct si_compiler *compiler) + struct ac_llvm_compiler *compiler) { enum ac_target_machine_options tm_options = (sscreen->debug_flags & DBG(SI_SCHED) ? AC_TM_SISCHED : 0) | @@ -131,7 +131,7 @@ static void si_init_compiler(struct si_screen *sscreen, return; } -static void si_destroy_compiler(struct si_compiler *compiler) +static void si_destroy_compiler(struct ac_llvm_compiler *compiler) { if (compiler->passmgr) LLVMDisposePassManager(compiler->passmgr); |