From edfd3be77e291fa4b0736ab05618180ef2dfde59 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Thu, 8 Jun 2017 20:04:28 +0200 Subject: [PATCH] ac: add ac_llvm_context::v8i32 Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- src/amd/common/ac_llvm_build.c | 1 + src/amd/common/ac_llvm_build.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c index 5dd7bc1fd6b..9d78b12ddf3 100644 --- a/src/amd/common/ac_llvm_build.c +++ b/src/amd/common/ac_llvm_build.c @@ -64,6 +64,7 @@ ac_llvm_context_init(struct ac_llvm_context *ctx, LLVMContextRef context) ctx->f64 = LLVMDoubleTypeInContext(ctx->context); ctx->v4i32 = LLVMVectorType(ctx->i32, 4); ctx->v4f32 = LLVMVectorType(ctx->f32, 4); + ctx->v8i32 = LLVMVectorType(ctx->i32, 8); ctx->v16i8 = LLVMVectorType(ctx->i8, 16); ctx->i32_0 = LLVMConstInt(ctx->i32, 0, false); diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h index 78909928223..b9aeacdec96 100644 --- a/src/amd/common/ac_llvm_build.h +++ b/src/amd/common/ac_llvm_build.h @@ -48,6 +48,7 @@ struct ac_llvm_context { LLVMTypeRef f64; LLVMTypeRef v4i32; LLVMTypeRef v4f32; + LLVMTypeRef v8i32; LLVMTypeRef v16i8; LLVMValueRef i32_0; -- 2.30.2