From: Brian Paul Date: Tue, 13 Sep 2011 14:16:01 +0000 (-0600) Subject: gallivm: remove unused vars X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ebf83b7318784e495b9cc56631f3961bb705827;p=mesa.git gallivm: remove unused vars --- 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;