[Mesa-dev] [PATCH] r600g/sb: Dump correct value for CND.

Vinson Lee vlee at freedesktop.org
Sun Aug 4 00:02:28 PDT 2013


Fixes "Copy-paste error" reported by Coverity.

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 src/gallium/drivers/r600/sb/sb_bc_dump.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
1.8.3.1



More information about the mesa-dev mailing list