diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/glsl/lower_blend_equation_advanced.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/lower_blend_equation_advanced.cpp b/src/compiler/glsl/lower_blend_equation_advanced.cpp index a998df14027..1d033924159 100644 --- a/src/compiler/glsl/lower_blend_equation_advanced.cpp +++ b/src/compiler/glsl/lower_blend_equation_advanced.cpp @@ -497,7 +497,7 @@ lower_blend_equation_advanced(struct gl_linked_shader *sh) * which writes a subset of the components, starting at location_frac. * The variables can't overlap, thankfully. */ - ir_variable *outputs[4]; + ir_variable *outputs[4] = { NULL, NULL, NULL, NULL }; foreach_in_list(ir_instruction, ir, sh->ir) { ir_variable *var = ir->as_variable(); if (!var || var->data.mode != ir_var_shader_out) |