From 0ebf83b7318784e495b9cc56631f3961bb705827 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 13 Sep 2011 08:16:01 -0600 Subject: gallivm: remove unused vars --- src/gallium/auxiliary/gallivm/lp_bld_sample.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/gallium/auxiliary') diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.c b/src/gallium/auxiliary/gallivm/lp_bld_sample.c index cb6717d7f63..884bddd1392 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.c @@ -913,7 +913,6 @@ lp_build_cube_lookup(struct lp_build_sample_context *bld, LLVMValueRef arx_ge_ary, arx_ge_arz; LLVMValueRef ary_ge_arx, ary_ge_arz; LLVMValueRef arx_ge_ary_arz, ary_ge_arx_arz; - LLVMValueRef rx_pos, ry_pos, rz_pos; assert(bld->coord_bld.type.length == 4); @@ -942,10 +941,6 @@ lp_build_cube_lookup(struct lp_build_sample_context *bld, arx_ge_ary_arz = LLVMBuildAnd(builder, arx_ge_ary, arx_ge_arz, ""); ary_ge_arx_arz = LLVMBuildAnd(builder, ary_ge_arx, ary_ge_arz, ""); - rx_pos = LLVMBuildFCmp(builder, LLVMRealUGE, rx, float_bld->zero, ""); - ry_pos = LLVMBuildFCmp(builder, LLVMRealUGE, ry, float_bld->zero, ""); - rz_pos = LLVMBuildFCmp(builder, LLVMRealUGE, rz, float_bld->zero, ""); - { struct lp_build_if_state if_ctx; LLVMValueRef face_s_var; -- cgit v1.2.3