[Mesa-dev] [PATCH 05/10] i965/vec4: Mark TCS_OPCODE_SRC0_010_IS_ZERO as writing the flag.
Matt Turner
mattst88 at gmail.com
Sat Mar 5 04:04:34 UTC 2016
Missing this causes an assertion failure in the scheduler with the next
patch.
---
src/mesa/drivers/dri/i965/brw_ir_vec4.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_ir_vec4.h b/src/mesa/drivers/dri/i965/brw_ir_vec4.h
index 660beca..7cedf8e 100644
--- a/src/mesa/drivers/dri/i965/brw_ir_vec4.h
+++ b/src/mesa/drivers/dri/i965/brw_ir_vec4.h
@@ -201,7 +201,8 @@ public:
{
return (conditional_mod && (opcode != BRW_OPCODE_SEL &&
opcode != BRW_OPCODE_IF &&
- opcode != BRW_OPCODE_WHILE));
+ opcode != BRW_OPCODE_WHILE)) ||
+ opcode == TCS_OPCODE_SRC0_010_IS_ZERO;
}
};
--
2.4.10
More information about the mesa-dev
mailing list