summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_compute.c
diff options
context:
space:
mode:
authorBruno JimĂ©nez <[email protected]>2014-05-19 18:14:57 +0200
committerTom Stellard <[email protected]>2014-06-10 15:29:57 -0400
commit112c1b14ed8bb76f8c125db659b8e6b0cd2fc5e6 (patch)
tree6233e7bfd69d81d2da82c4f817edc070a7808c2e /src/gallium/drivers/r600/evergreen_compute.c
parent2e01b8b440c1402c88a2755d89f40292e1f36ce5 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute.c')
-rw-r--r--src/gallium/drivers/r600/evergreen_compute.c2
1 files changed, 1 insertions, 1 deletions
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]);
}