diff options
author | Dave Airlie <airlied@redhat.com> | 2020-06-19 17:13:12 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-07-27 13:48:12 +1000 |
commit | 645707638f49fa8d213c0f7041052a4680deb405 (patch) | |
tree | b9e6320b94951a7ff3dbfafe1d0071542bf44dbe | |
parent | 8d8e8864cfcb01ea551f1b22041aa837627f21db (diff) |
gallivm/sample : init some vars
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c | 2 |
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 83a0755d03d..50a5a5d36d9 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c @@ -454,7 +454,7 @@ lp_build_sample_image_nearest(struct lp_build_sample_context *bld, LLVMValueRef s_float, t_float = NULL, r_float = NULL; LLVMValueRef x_stride; LLVMValueRef x_offset, offset; - LLVMValueRef x_subcoord, y_subcoord, z_subcoord; + LLVMValueRef x_subcoord, y_subcoord = NULL, z_subcoord = NULL; lp_build_context_init(&i32, bld->gallivm, lp_type_int_vec(32, bld->vector_width)); |