diff options
author | Samuel Pitoiset <[email protected]> | 2017-12-21 17:53:14 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-12-22 10:38:44 +0100 |
commit | 03ef2641469286423e587d17b2952713ffe48585 (patch) | |
tree | 31dc0eed3371f1baa2ac45659df3a5611401efdc /src/gallium | |
parent | 79c495aa377c486b220da538558177208999283d (diff) |
amd/common: pass the family to ac_llvm_context_init()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c index 0843b3c63c0..2ca036e67d3 100644 --- a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c +++ b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c @@ -1167,7 +1167,8 @@ void si_llvm_context_init(struct si_shader_context *ctx, ctx->gallivm.builder = lp_create_builder(ctx->gallivm.context, float_mode); - ac_llvm_context_init(&ctx->ac, ctx->gallivm.context, sscreen->info.chip_class); + ac_llvm_context_init(&ctx->ac, ctx->gallivm.context, + sscreen->info.chip_class, sscreen->info.family); ctx->ac.module = ctx->gallivm.module; ctx->ac.builder = ctx->gallivm.builder; |