diff options
author | Timothy Arceri <[email protected]> | 2017-11-02 13:24:27 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-11-03 14:54:46 +1100 |
commit | 7f4966731fe1b6f928702596360f1fb5ec982557 (patch) | |
tree | 50701d31aa34ffe8a3bf3d481bdb8e90ccb7af4c /src/amd/common/ac_llvm_build.c | |
parent | cd6cfd1095b08cc3156ca0bfa62e28fa337c67a9 (diff) |
ac: add v2f32 to the common code and make use of it
Reviewed-by: Marek Olšák <[email protected]
Acked-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.c')
-rw-r--r-- | src/amd/common/ac_llvm_build.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c index 1519262b3dd..5640a23b8aa 100644 --- a/src/amd/common/ac_llvm_build.c +++ b/src/amd/common/ac_llvm_build.c @@ -69,6 +69,7 @@ ac_llvm_context_init(struct ac_llvm_context *ctx, LLVMContextRef context, ctx->v2i32 = LLVMVectorType(ctx->i32, 2); ctx->v3i32 = LLVMVectorType(ctx->i32, 3); ctx->v4i32 = LLVMVectorType(ctx->i32, 4); + ctx->v2f32 = LLVMVectorType(ctx->f32, 2); ctx->v4f32 = LLVMVectorType(ctx->f32, 4); ctx->v8i32 = LLVMVectorType(ctx->i32, 8); |