revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / mesa / src / gallium / drivers / nv50 / nv50_debug.h
blobf3dee6215198cc52cb5020617c15f1c33504e2b9
2 #ifndef __NV50_DEBUG_H__
3 #define __NV50_DEBUG_H__
5 #include <stdio.h>
7 #include "util/u_debug.h"
9 #define NV50_DEBUG_MISC 0x0001
10 #define NV50_DEBUG_SHADER 0x0100
11 #define NV50_DEBUG_PROG_IR 0x0200
12 #define NV50_DEBUG_PROG_RA 0x0400
13 #define NV50_DEBUG_PROG_CFLOW 0x0800
14 #define NV50_DEBUG_PROG_ALL 0x1f00
16 #define NV50_DEBUG 0
18 #define NOUVEAU_ERR(fmt, args...) \
19 fprintf(stderr, "%s:%d - "fmt, __FUNCTION__, __LINE__, ##args)
21 #define NV50_DBGMSG(ch, args...) \
22 if ((NV50_DEBUG) & (NV50_DEBUG_##ch)) \
23 debug_printf(args)
25 #endif /* __NV50_DEBUG_H__ */