aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_build.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-12-21 17:53:14 +0100
committerSamuel Pitoiset <[email protected]>2017-12-22 10:38:44 +0100
commit03ef2641469286423e587d17b2952713ffe48585 (patch)
tree31dc0eed3371f1baa2ac45659df3a5611401efdc /src/amd/common/ac_llvm_build.h
parent79c495aa377c486b220da538558177208999283d (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.h')
-rw-r--r--src/amd/common/ac_llvm_build.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h
index 4a570c41bc5..6427d5315ae 100644
--- a/src/amd/common/ac_llvm_build.h
+++ b/src/amd/common/ac_llvm_build.h
@@ -74,13 +74,14 @@ struct ac_llvm_context {
LLVMValueRef empty_md;
enum chip_class chip_class;
+ enum radeon_family family;
LLVMValueRef lds;
};
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);
unsigned ac_get_type_size(LLVMTypeRef type);