diff options
author | Tom Stellard <[email protected]> | 2014-07-18 12:25:29 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2014-07-21 10:00:09 -0400 |
commit | 245e86168a758e35a78077f90cbb4a8cfca0909f (patch) | |
tree | f63dd4e09b63927b2725f10e8231fdef315ce44b /src/gallium/drivers/r600 | |
parent | 9ba3105e0a4b186d6b1ee4c23886a3c4cd0a3543 (diff) |
radeonsi/compute: Share COMPUTE_DBG macro with r600g
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute.h | 13 |
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 e760790e632..4fb53a1cb90 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 |