[Mesa-dev] [PATCH 16/32] i965/vec4: Initialize vec4_instruction::predicate and ::predicate_inverse.
Francisco Jerez
currojerez at riseup.net
Fri Feb 6 06:42:56 PST 2015
---
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 2cd185b..babddee 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.1.3
More information about the mesa-dev
mailing list