projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ea43e6
)
r600g/sb: fix broken assert
author
Vadim Girlin
<vadimgirlin@gmail.com>
Fri, 31 May 2013 13:35:30 +0000
(17:35 +0400)
committer
Vadim Girlin
<vadimgirlin@gmail.com>
Fri, 31 May 2013 18:11:42 +0000
(22:11 +0400)
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/sb/sb_expr.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/sb/sb_expr.cpp
b/src/gallium/drivers/r600/sb/sb_expr.cpp
index 053ab2b3499e1b6533bd704740ea032dd64391f0..8337e77cd0638d9e8732c9bb4cfe883fff6f6370 100644
(file)
--- a/
src/gallium/drivers/r600/sb/sb_expr.cpp
+++ b/
src/gallium/drivers/r600/sb/sb_expr.cpp
@@
-467,7
+467,7
@@
bool expr_handler::fold_alu_op2(alu_node& n) {
value* v0 = n.src[0]->gvalue();
value* v1 = n.src[1]->gvalue();
- assert(v0 && v1
&& n.dst[0]
);
+ assert(v0 && v1);
bool isc0 = v0->is_const();
bool isc1 = v1->is_const();