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/amd/common/ac_llvm_build.c | |
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/amd/common/ac_llvm_build.c')
-rw-r--r-- | src/amd/common/ac_llvm_build.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c index b407678c3b0..c74a47a7998 100644 --- a/src/amd/common/ac_llvm_build.c +++ b/src/amd/common/ac_llvm_build.c @@ -47,11 +47,12 @@ */ void ac_llvm_context_init(struct ac_llvm_context *ctx, LLVMContextRef context, - enum chip_class chip_class) + enum chip_class chip_class, enum radeon_family family) { LLVMValueRef args[1]; ctx->chip_class = chip_class; + ctx->family = family; ctx->context = context; ctx->module = NULL; |