i965/fs: Assert that ir_expressions are usable by 3-src instructions.
MAD will be generated directly from ir_triop_fma, so this assertion checks that all ir_expressions are usable. Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
d55c543c36
commit
e817b94a2c
|
@ -336,6 +336,7 @@ fs_visitor::visit(ir_expression *ir)
|
|||
ir->operands[operand]->print();
|
||||
printf("\n");
|
||||
}
|
||||
assert(this->result.is_valid_3src());
|
||||
op[operand] = this->result;
|
||||
|
||||
/* Matrix expression operands should have been broken down to vector
|
||||
|
|
Loading…
Reference in New Issue