diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c index 0ad394d461e..be7a0b97489 100644 --- a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c +++ b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c @@ -1388,7 +1388,7 @@ void si_llvm_optimize_module(struct si_shader_context *ctx) /* Dump LLVM IR before any optimization passes */ if (ctx->screen->b.debug_flags & DBG_PREOPT_IR && - r600_can_dump_shader(&ctx->screen->b, ctx->type)) + si_can_dump_shader(&ctx->screen->b, ctx->type)) LLVMDumpModule(ctx->gallivm.module); /* Create the pass manager */ @@ -1397,7 +1397,7 @@ void si_llvm_optimize_module(struct si_shader_context *ctx) target_library_info = gallivm_create_target_library_info(triple); LLVMAddTargetLibraryInfo(target_library_info, gallivm->passmgr); - if (r600_extra_shader_checks(&ctx->screen->b, ctx->type)) + if (si_extra_shader_checks(&ctx->screen->b, ctx->type)) LLVMAddVerifierPass(gallivm->passmgr); LLVMAddAlwaysInlinerPass(gallivm->passmgr); |