ac: add ac_llvm_context::v8i32

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Nicolai Hähnle 2017-06-08 20:04:28 +02:00 committed by Dave Airlie
parent 331a574732
commit edfd3be77e
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -48,6 +48,7 @@ struct ac_llvm_context {
LLVMTypeRef f64;
LLVMTypeRef v4i32;
LLVMTypeRef v4f32;
LLVMTypeRef v8i32;
LLVMTypeRef v16i8;
LLVMValueRef i32_0;