 |
Blender V5.0
|
Go to the documentation of this file.
19#define METAL_DEBUG_CAPTURE_MAX_NESTED_GROUPS -1
22#define METAL_DEBUG_CAPTURE_HIDE_EMPTY 0
33#define EXPAND_ARGS(...) , ##__VA_ARGS__
34#define MTL_LOG_ERROR(info, ...) \
36 if (G.debug & G_DEBUG_GPU) { \
37 CLOG_ERROR(&debug::LOG, info EXPAND_ARGS(__VA_ARGS__)); \
38 BLI_system_backtrace(stderr); \
42#define MTL_LOG_WARNING(info, ...) \
44 if (G.debug & G_DEBUG_GPU) { \
45 CLOG_WARN(&debug::LOG, info EXPAND_ARGS(__VA_ARGS__)); \
49#define MTL_LOG_DEBUG(info, ...) \
51 if (G.debug & G_DEBUG_GPU) { \
52 CLOG_DEBUG(&debug::LOG, info EXPAND_ARGS(__VA_ARGS__)); \