From: Bruno Jiménez Date: Mon, 19 May 2014 16:14:57 +0000 (+0200) Subject: r600g/compute: Use %u as the unsigned format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=112c1b14ed8bb76f8c125db659b8e6b0cd2fc5e6;p=mesa.git r600g/compute: Use %u as the unsigned format This fixes an issue when running cl-program-bitcoin-phatk piglit test where some of the inputs have negative values Reviewed-by: Tom Stellard --- diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index 701bb5cfa70..a2abf1546dd 100644 --- a/src/gallium/drivers/r600/evergreen_compute.c +++ b/src/gallium/drivers/r600/evergreen_compute.c @@ -323,7 +323,7 @@ void evergreen_compute_upload_input( memcpy(kernel_parameters_start, input, shader->input_size); for (i = 0; i < (input_size / 4); i++) { - COMPUTE_DBG(ctx->screen, "input %i : %i\n", i, + COMPUTE_DBG(ctx->screen, "input %i : %u\n", i, ((unsigned*)num_work_groups_start)[i]); }