diff options
author | Timothy Arceri <[email protected]> | 2017-11-02 12:44:08 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-11-03 14:54:45 +1100 |
commit | 3d45acf71cefeeac77e9c4af7f1f8b776a9a8d16 (patch) | |
tree | 559cffbd8f58355450c550d5c87f1f547046407f | |
parent | 4d4799643dfc0236014c7d56b94575200e441819 (diff) |
ac: remove unused i16 llvm type
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Marek Olšák <[email protected]
Acked-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index d741fb7b45d..c3c9d7a8594 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -134,7 +134,6 @@ struct nir_to_llvm_context { LLVMValueRef persp_sample, persp_center, persp_centroid; LLVMValueRef linear_sample, linear_center, linear_centroid; - LLVMTypeRef i16; LLVMTypeRef i64; LLVMTypeRef v2i32; LLVMTypeRef v3i32; @@ -994,7 +993,6 @@ static void create_function(struct nir_to_llvm_context *ctx, static void setup_types(struct nir_to_llvm_context *ctx) { - ctx->i16 = LLVMIntTypeInContext(ctx->context, 16); ctx->i64 = LLVMIntTypeInContext(ctx->context, 64); ctx->v2i32 = LLVMVectorType(ctx->ac.i32, 2); ctx->v3i32 = LLVMVectorType(ctx->ac.i32, 3); |