mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
softpipe: Initialize source in blend_quad.
This commit is contained in:
parent
7ea452dd35
commit
f8d4ac56f7
1 changed files with 2 additions and 1 deletions
|
|
@ -258,7 +258,8 @@ blend_quad(struct quad_stage *qs, struct quad_header *quad)
|
|||
|
||||
/* loop over colorbuffer outputs */
|
||||
for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) {
|
||||
float source[4][QUAD_SIZE], dest[4][QUAD_SIZE];
|
||||
float source[4][QUAD_SIZE] = { { 0 } };
|
||||
float dest[4][QUAD_SIZE];
|
||||
struct softpipe_cached_tile *tile
|
||||
= sp_get_cached_tile(softpipe,
|
||||
softpipe->cbuf_cache[cbuf],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue