On 08/04/2013 11:02 AM, Vinson Lee wrote:
Fixes "Copy-paste error" reported by Coverity.

Signed-off-by: Vinson Lee <v...@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;


Reviewed-by: Vadim Girlin <vadimgir...@gmail.com>

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to