aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-07-17 14:41:29 -0600
committerBrian Paul <[email protected]>2012-07-17 14:41:29 -0600
commitc4d2a14d6e98dae29a9a04da122521e25eaf7986 (patch)
tree4b7b1bb0eb6e35605d12cc7f671ed96dcf3e2109 /src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
parent9d699cd845f3544fa6e149fa4ffb1d131d32b482 (diff)
gallivm: silence uninitialized variable warnings
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
index ad1b29cf096..d81033f83a0 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
@@ -655,7 +655,7 @@ lp_build_sample_image_nearest_afloat(struct lp_build_sample_context *bld,
LLVMValueRef width_vec, height_vec, depth_vec;
LLVMValueRef offset;
LLVMValueRef x_subcoord, y_subcoord;
- LLVMValueRef x_icoord, y_icoord, z_icoord;
+ LLVMValueRef x_icoord = NULL, y_icoord = NULL, z_icoord = NULL;
LLVMValueRef flt_size;
flt_size = lp_build_int_to_float(&bld->float_size_bld, int_size);