r600g/sb: Dump correct value for CND.
authorVinson Lee <vlee@freedesktop.org>
Sun, 4 Aug 2013 06:58:43 +0000 (23:58 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sun, 4 Aug 2013 20:49:17 +0000 (13:49 -0700)
Fixes "Copy-paste error" reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/sb/sb_bc_dump.cpp

index 9d76465b36fae7fb5257bf7eca4c99ebd080a37d..9b1420d38954215c8c4ec1c67ad26f877aa9d2ef 100644 (file)
@@ -174,7 +174,7 @@ void bc_dump::dump(cf_node& n) {
                }
 
                if (n.bc.cond)
-                       s << " CND:" << n.bc.pop_count;
+                       s << " CND:" << n.bc.cond;
 
                if (n.bc.pop_count)
                        s << " POP:" << n.bc.pop_count;