mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
llvmpipe: (trivial) initialize src1_alpha var to NULL
The blend code would do a conditional assignment based on it, causing valgrind
to complain. Since that variable was actually unused in this case, this
doesn't fix anything but the warning.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94955
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 64d3ae09b7)
This commit is contained in:
parent
b13a734b52
commit
68ecc39aba
1 changed files with 1 additions and 1 deletions
|
|
@ -1601,7 +1601,7 @@ generate_unswizzled_blend(struct gallivm_state *gallivm,
|
|||
LLVMValueRef fs_src[4][TGSI_NUM_CHANNELS];
|
||||
LLVMValueRef fs_src1[4][TGSI_NUM_CHANNELS];
|
||||
LLVMValueRef src_alpha[4 * 4];
|
||||
LLVMValueRef src1_alpha[4 * 4];
|
||||
LLVMValueRef src1_alpha[4 * 4] = { NULL };
|
||||
LLVMValueRef src_mask[4 * 4];
|
||||
LLVMValueRef src[4 * 4];
|
||||
LLVMValueRef src1[4 * 4];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue