From 0c902a8f7875a547cea179e5324f5d2fd3990bcf Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Tue, 3 Feb 2015 15:31:46 +0200 Subject: [PATCH] i965/vec4: Initialize vec4_instruction::predicate and ::predicate_inverse. Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index 8eb00e737f7..2cd3acc9f91 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -43,6 +43,8 @@ vec4_instruction::vec4_instruction(enum opcode opcode, const dst_reg &dst, this->no_dd_check = false; this->writes_accumulator = false; this->conditional_mod = BRW_CONDITIONAL_NONE; + this->predicate = BRW_PREDICATE_NONE; + this->predicate_inverse = false; this->target = 0; this->regs_written = (dst.file == BAD_FILE ? 0 : 1); this->shadow_compare = false; -- 2.30.2