mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 22:00:26 +01:00
gallivm: Silence uninitialized variable warnings.
Fixes these GCC warnings. gallivm/lp_bld_sample_aos.c: In function 'lp_build_sample_image_nearest': gallivm/lp_bld_sample_aos.c:271: warning: 't_ipart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:271: warning: 'r_ipart' may be used uninitialized in this function
This commit is contained in:
parent
0a5666148b
commit
fc59790b87
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ lp_build_sample_image_nearest(struct lp_build_sample_context *bld,
|
|||
LLVMTypeRef i32_vec_type, h16_vec_type, u8n_vec_type;
|
||||
LLVMValueRef i32_c8;
|
||||
LLVMValueRef width_vec, height_vec, depth_vec;
|
||||
LLVMValueRef s_ipart, t_ipart, r_ipart;
|
||||
LLVMValueRef s_ipart, t_ipart = NULL, r_ipart = NULL;
|
||||
LLVMValueRef x_stride;
|
||||
LLVMValueRef x_offset, offset;
|
||||
LLVMValueRef x_subcoord, y_subcoord, z_subcoord;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue