diff options
author | Marek Olšák <[email protected]> | 2019-07-12 17:32:18 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-19 20:16:19 -0400 |
commit | eb54b8c222e6ac7d81a3efde1dfed58b33c6a601 (patch) | |
tree | 61f7c73d8e53a056eb799c082105dbb04a526889 /src/gallium/drivers | |
parent | 921c1d24d5ea17e5448c1f464416397e6fa9e418 (diff) |
ac: create the LLVM module for Wave32 or Wave64 in ac_llvm_context_init
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-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 9a9f3d63cc6..3de720c27b8 100644 --- a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c +++ b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c @@ -962,8 +962,8 @@ void si_llvm_context_init(struct si_shader_context *ctx, ctx->screen = sscreen; ctx->compiler = compiler; - ac_llvm_context_init(&ctx->ac, sscreen->info.chip_class, sscreen->info.family, 64); - ctx->ac.module = ac_create_module(compiler->tm, ctx->ac.context); + ac_llvm_context_init(&ctx->ac, compiler, sscreen->info.chip_class, + sscreen->info.family, 64); enum ac_float_mode float_mode = sscreen->debug_flags & DBG(UNSAFE_MATH) ? |