From: Nicolai Hähnle Date: Thu, 8 Jun 2017 18:04:28 +0000 (+0200) Subject: ac: add ac_llvm_context::v8i32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=edfd3be77e291fa4b0736ab05618180ef2dfde59;p=mesa.git ac: add ac_llvm_context::v8i32 Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- 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;