diff options
author | Marek Olšák <[email protected]> | 2018-04-01 18:30:47 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-05 15:34:58 -0400 |
commit | 72e9e98076d0ee0281aa3982602a6e85cd14bf2b (patch) | |
tree | f96ab4406aa890a47537554df908a8c30eedbffa /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 076afb4f0e71ece84b875466da920aa62415151a (diff) |
radeonsi: move and rename R600_ERR out of r600_pipe_common.h
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index e726268aa0a..0ae28a235c9 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -1063,4 +1063,7 @@ static inline unsigned si_get_total_colormask(struct si_context *sctx) return colormask; } +#define PRINT_ERR(fmt, args...) \ + fprintf(stderr, "EE %s:%d %s - " fmt, __FILE__, __LINE__, __func__, ##args) + #endif |