summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_compute.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-07-18 12:25:29 -0400
committerTom Stellard <thomas.stellard@amd.com>2014-07-21 10:00:09 -0400
commit245e86168a758e35a78077f90cbb4a8cfca0909f (patch)
treef63dd4e09b63927b2725f10e8231fdef315ce44b /src/gallium/drivers/r600/evergreen_compute.h
parent9ba3105e0a4b186d6b1ee4c23886a3c4cd0a3543 (diff)
downloadexternal_mesa3d-245e86168a758e35a78077f90cbb4a8cfca0909f.zip
external_mesa3d-245e86168a758e35a78077f90cbb4a8cfca0909f.tar.gz
external_mesa3d-245e86168a758e35a78077f90cbb4a8cfca0909f.tar.bz2
radeonsi/compute: Share COMPUTE_DBG macro with r600g
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute.h')
-rw-r--r--src/gallium/drivers/r600/evergreen_compute.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.h b/src/gallium/drivers/r600/evergreen_compute.h
index e760790..4fb53a1 100644
--- a/src/gallium/drivers/r600/evergreen_compute.h
+++ b/src/gallium/drivers/r600/evergreen_compute.h
@@ -59,17 +59,4 @@ void r600_compute_global_transfer_flush_region( struct pipe_context *, struct pi
void r600_compute_global_transfer_inline_write( struct pipe_context *, struct pipe_resource *, unsigned level,
unsigned usage, const struct pipe_box *, const void *data, unsigned stride, unsigned layer_stride);
-
-static inline void COMPUTE_DBG(struct r600_screen *rscreen, const char *fmt, ...)
-{
- if (!(rscreen->b.debug_flags & DBG_COMPUTE)) {
- return;
- }
-
- va_list ap;
- va_start(ap, fmt);
- _debug_vprintf(fmt, ap);
- va_end(ap);
-}
-
#endif