Mesa (master): r600g/sb: Dump correct value for CND.

Vinson Lee vlee at kemper.freedesktop.org
Sun Aug 4 20:49:35 UTC 2013


Module: Mesa
Branch: master
Commit: 0794f638ee5a38962df94e8e122f41bb03b51222
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0794f638ee5a38962df94e8e122f41bb03b51222

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sat Aug  3 23:58:43 2013 -0700

r600g/sb: Dump correct value for CND.

Fixes "Copy-paste error" reported by Coverity.

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Vadim Girlin <vadimgirlin at gmail.com>

---

 src/gallium/drivers/r600/sb/sb_bc_dump.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/sb/sb_bc_dump.cpp b/src/gallium/drivers/r600/sb/sb_bc_dump.cpp
index 9d76465..9b1420d 100644
--- a/src/gallium/drivers/r600/sb/sb_bc_dump.cpp
+++ b/src/gallium/drivers/r600/sb/sb_bc_dump.cpp
@@ -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;




More information about the mesa-commit mailing list