 |
Blender V4.3
|
Go to the documentation of this file.
19#define METAL_DEBUG_CAPTURE_MAX_NESTED_GROUPS -1
22#define METAL_DEBUG_CAPTURE_HIDE_EMPTY 0
35#define EXPAND_ARGS(...) , ##__VA_ARGS__
36#define MTL_LOG_ERROR(info, ...) \
38 if (G.debug & G_DEBUG_GPU) { \
39 CLOG_ERROR(&debug::LOG, info EXPAND_ARGS(__VA_ARGS__)); \
40 BLI_system_backtrace(stderr); \
44#define MTL_LOG_WARNING(info, ...) \
46 if (G.debug & G_DEBUG_GPU) { \
47 CLOG_WARN(&debug::LOG, info EXPAND_ARGS(__VA_ARGS__)); \
51#define MTL_LOG_INFO(info, ...) \
53 if (G.debug & G_DEBUG_GPU) { \
54 CLOG_INFO(&debug::LOG, 2, info EXPAND_ARGS(__VA_ARGS__)); \