summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/target-helpers
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-06-28 21:50:51 +0200
committerJakob Bornecrantz <[email protected]>2010-06-28 21:52:03 +0200
commitd12c4c5a62dbf5e32f989c8ef53a5a878cc5c0a2 (patch)
treeed126a8c05eb572c73f8fb49184f24c7a68d129c /src/gallium/auxiliary/target-helpers
parent2932dd637439247dc1c20fb3bf8ef0ec1920727e (diff)
glhd: Re-integrate with the debug system
Diffstat (limited to 'src/gallium/auxiliary/target-helpers')
-rw-r--r--src/gallium/auxiliary/target-helpers/inline_debug_helper.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
index 1bc329c9f0c..0433da6141d 100644
--- a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
+++ b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
@@ -18,6 +18,10 @@
#include "rbug/rbug_public.h"
#endif
+#ifdef GALLIUM_GALAHAD
+#include "galahad/glhd_public.h"
+#endif
+
static INLINE struct pipe_screen *
debug_screen_wrap(struct pipe_screen *screen)
{
@@ -30,6 +34,10 @@ debug_screen_wrap(struct pipe_screen *screen)
screen = trace_screen_create(screen);
#endif
+#if defined(GALLIUM_GALAHAD)
+ screen = galahad_screen_create(screen);
+#endif
+
return screen;
}