i965/vec4: Initialize vec4_instruction::predicate and ::predicate_inverse.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 3 Feb 2015 13:31:46 +0000 (15:31 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 10 Feb 2015 17:09:24 +0000 (19:09 +0200)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp

index 8eb00e7..2cd3acc 100644 (file)
@@ -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;