gallivm: remove unused vars
authorBrian Paul <brianp@vmware.com>
Tue, 13 Sep 2011 14:16:01 +0000 (08:16 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 13 Sep 2011 14:16:01 +0000 (08:16 -0600)
src/gallium/auxiliary/gallivm/lp_bld_sample.c

index cb6717d7f63ab1046b3b409930fe08a9d6982c98..884bddd139217b451366f3d31335941cb33caae8 100644 (file)
@@ -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;