summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_compute.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-08-09 22:24:03 +0200
committerMarek Olšák <[email protected]>2014-08-09 23:41:16 +0200
commitb5f877ef7ecdcd2c4033d26bd08381d16a116d0d (patch)
tree21507cb98046afb72899c2d2edd2287dcc697490 /src/gallium/drivers/r600/evergreen_compute.c
parent3d06952d9e703e70d3f66e8a14a999b751a52a1b (diff)
r600g/compute: fix compile warnings
Trivial.
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute.c')
-rw-r--r--src/gallium/drivers/r600/evergreen_compute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c
index 402c8718de7..acc1b714fdf 100644
--- a/src/gallium/drivers/r600/evergreen_compute.c
+++ b/src/gallium/drivers/r600/evergreen_compute.c
@@ -49,6 +49,7 @@
#ifdef HAVE_OPENCL
#include "radeon_llvm_util.h"
#endif
+#include <inttypes.h>
/**
RAT0 is for global binding write
@@ -991,7 +992,7 @@ void *r600_compute_global_transfer_map(
"width = %u, height = %u, depth = %u)\n", level, usage,
box->x, box->y, box->z, box->width, box->height,
box->depth);
- COMPUTE_DBG(rctx->screen, "Buffer id = %u offset = "
+ COMPUTE_DBG(rctx->screen, "Buffer id = %"PRIi64" offset = "
"%u (box.x)\n", item->id, box->x);