summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2015-02-03 15:31:46 +0200
committerFrancisco Jerez <[email protected]>2015-02-10 19:09:24 +0200
commit0c902a8f7875a547cea179e5324f5d2fd3990bcf (patch)
treea0576e55dd9e62ffce8aea1087b05399f733c1ae /src
parent388b136e677e30249e062145b488c2d938c1ef17 (diff)
i965/vec4: Initialize vec4_instruction::predicate and ::predicate_inverse.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp2
1 files changed, 2 insertions, 0 deletions
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;