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

Vadim Girlin vadimgirlin at gmail.com
Sun Aug 4 03:49:21 PDT 2013


On 08/04/2013 11:02 AM, Vinson Lee wrote:
> 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;
>

Reviewed-by: Vadim Girlin <vadimgirlin at gmail.com>



More information about the mesa-dev mailing list