 |
Blender V5.3
|
Go to the documentation of this file.
19#define METAL_DEBUG_CAPTURE_MAX_NESTED_GROUPS -1
30#define EXPAND_ARGS(...) , ##__VA_ARGS__
31#define MTL_LOG_ERROR(info, ...) \
33 if (G.debug & G_DEBUG_GPU) { \
34 CLOG_ERROR(&debug::LOG, info EXPAND_ARGS(__VA_ARGS__)); \
35 BLI_system_backtrace(stderr); \
39#define MTL_LOG_WARNING(info, ...) \
41 if (G.debug & G_DEBUG_GPU) { \
42 CLOG_WARN(&debug::LOG, info EXPAND_ARGS(__VA_ARGS__)); \
46#define MTL_LOG_DEBUG(info, ...) \
48 if (G.debug & G_DEBUG_GPU) { \
49 CLOG_DEBUG(&debug::LOG, info EXPAND_ARGS(__VA_ARGS__)); \