aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-09-13 08:16:01 -0600
committerBrian Paul <[email protected]>2011-09-13 08:16:01 -0600
commit0ebf83b7318784e495b9cc56631f3961bb705827 (patch)
tree080b1d5bcbe6fd35281235108f77be2b22bf6082
parent52b9ec727bfeca0cf13078dc352962b58293b2d4 (diff)
gallivm: remove unused vars
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_sample.c5
1 files changed, 0 insertions, 5 deletions
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;