projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
softpipe: fix depth sampling for linear vs nearest.
[mesa.git]
/
src
/
gallium
/
drivers
/
i915
/
i915_debug.h
diff --git
a/src/gallium/drivers/i915/i915_debug.h
b/src/gallium/drivers/i915/i915_debug.h
index 8aa09f9c1f2d5f840df141994ab4fc91d3afee3d..fa60799d0c55669253ae9ab3ae4327764a96a54a 100644
(file)
--- a/
src/gallium/drivers/i915/i915_debug.h
+++ b/
src/gallium/drivers/i915/i915_debug.h
@@
-47,6
+47,7
@@
struct i915_winsys_batchbuffer;
extern unsigned i915_debug;
extern unsigned i915_debug;
+#ifdef DEBUG
static INLINE boolean
I915_DBG_ON(unsigned flags)
{
static INLINE boolean
I915_DBG_ON(unsigned flags)
{
@@
-64,6
+65,10
@@
I915_DBG(unsigned flags, const char *fmt, ...)
va_end(args);
}
}
va_end(args);
}
}
+#else
+#define I915_DBG_ON(flags) (0)
+static INLINE void I915_DBG(unsigned flags, const char *fmt, ...) {}
+#endif
void i915_debug_init(struct i915_screen *i915);
void i915_debug_init(struct i915_screen *i915);