diff options
author | José Fonseca <[email protected]> | 2011-10-31 19:36:07 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-10-31 19:40:54 +0000 |
commit | 0f26c6ae3f9bd6b8c97e9e8a461d55b30e429239 (patch) | |
tree | 9cc133a25cc003b53d7763709a13f2067a8e9a64 /src/gallium/auxiliary | |
parent | 7ff247712d7c01141756d0999ff86af1e109ce7c (diff) |
llvmpipe: Remove unsed variables.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_conv.c | 4 | ||||
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_conv.c b/src/gallium/auxiliary/gallivm/lp_bld_conv.c index c261d761161..8a086631249 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_conv.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_conv.c @@ -346,10 +346,8 @@ lp_build_conv(struct gallivm_state *gallivm, LLVMValueRef src_int1; LLVMValueRef src_int2; LLVMValueRef src_int3; - LLVMTypeRef int16_vec_type; LLVMTypeRef int32_vec_type; LLVMTypeRef src_vec_type; - LLVMTypeRef dst_vec_type; LLVMValueRef const_255f; LLVMValueRef a, b, c, d; @@ -362,8 +360,6 @@ lp_build_conv(struct gallivm_state *gallivm, int32_type.sign = 1; src_vec_type = lp_build_vec_type(gallivm, src_type); - dst_vec_type = lp_build_vec_type(gallivm, dst_type); - int16_vec_type = lp_build_vec_type(gallivm, int16_type); int32_vec_type = lp_build_vec_type(gallivm, int32_type); const_255f = lp_build_const_vec(gallivm, src_type, 255.0f); diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c index 4f160159968..b215f3806f4 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c @@ -268,7 +268,7 @@ lp_build_sample_image_nearest(struct lp_build_sample_context *bld, const unsigned dims = bld->dims; LLVMBuilderRef builder = bld->gallivm->builder; struct lp_build_context i32, h16, u8n; - LLVMTypeRef i32_vec_type, h16_vec_type, u8n_vec_type; + LLVMTypeRef i32_vec_type, u8n_vec_type; LLVMValueRef i32_c8; LLVMValueRef width_vec, height_vec, depth_vec; LLVMValueRef s_ipart, t_ipart = NULL, r_ipart = NULL; @@ -281,7 +281,6 @@ lp_build_sample_image_nearest(struct lp_build_sample_context *bld, lp_build_context_init(&u8n, bld->gallivm, lp_type_unorm(8)); i32_vec_type = lp_build_vec_type(bld->gallivm, i32.type); - h16_vec_type = lp_build_vec_type(bld->gallivm, h16.type); u8n_vec_type = lp_build_vec_type(bld->gallivm, u8n.type); lp_build_extract_image_sizes(bld, |