diff options
author | Vadim Girlin <[email protected]> | 2013-05-31 17:35:30 +0400 |
---|---|---|
committer | Vadim Girlin <[email protected]> | 2013-05-31 22:11:42 +0400 |
commit | eb4c992ea5e69083d2bc705d2460ce956c5063a7 (patch) | |
tree | d22a3078eec0db6a628bfe3eeb9d6472a8419195 | |
parent | 5ea43e65498505fc5d11d63668cda165146eb55b (diff) |
r600g/sb: fix broken assert
Signed-off-by: Vadim Girlin <[email protected]>
-rw-r--r-- | src/gallium/drivers/r600/sb/sb_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_expr.cpp b/src/gallium/drivers/r600/sb/sb_expr.cpp index 053ab2b3499..8337e77cd06 100644 --- 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(); |