projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d55c543
)
i965/fs: Assert that ir_expressions are usable by 3-src instructions.
author
Matt Turner
<mattst88@gmail.com>
Tue, 27 Aug 2013 05:01:17 +0000
(22:01 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 27 Aug 2013 22:03:30 +0000
(15:03 -0700)
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>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
index 964ad4074a6f27207bf90df9d2697983c0293096..6186a9c0c5039f40d781c62df607b5df3eb6e627 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
@@
-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