llvmpipe: Remove unsed variables.
This commit is contained in:
parent
7ff247712d
commit
0f26c6ae3f
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue