diff options
author | Vinson Lee <[email protected]> | 2010-04-13 00:49:58 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-04-13 00:49:58 -0700 |
commit | 9f39d3240b41639cbaa5b6c438a76c34d3f23444 (patch) | |
tree | fa45ce2f0688225259d1b83fb31d5f89d04056a0 /src/gallium/auxiliary | |
parent | 8316da7cd20c9538b58b8927cc14f1639b881008 (diff) |
draw llvm: Initialize variable.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index 122e7bafe02..364a560ecad 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c +++ b/src/gallium/auxiliary/draw/draw_llvm.c @@ -641,7 +641,7 @@ draw_llvm_generate(struct draw_llvm *llvm, struct draw_llvm_variant *variant) lp_build_loop_begin(builder, start, &lp_loop); { LLVMValueRef inputs[PIPE_MAX_SHADER_INPUTS][NUM_CHANNELS]; - LLVMValueRef aos_attribs[PIPE_MAX_SHADER_INPUTS][NUM_CHANNELS]; + LLVMValueRef aos_attribs[PIPE_MAX_SHADER_INPUTS][NUM_CHANNELS] = { { 0 } }; LLVMValueRef io; const LLVMValueRef (*ptr_aos)[NUM_CHANNELS]; |