summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-i965
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl-i965')
-rw-r--r--src/gallium/targets/egl-i965/Makefile2
-rw-r--r--src/gallium/targets/egl-i965/target.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/targets/egl-i965/Makefile b/src/gallium/targets/egl-i965/Makefile
index fe3091190c1..44e435452e8 100644
--- a/src/gallium/targets/egl-i965/Makefile
+++ b/src/gallium/targets/egl-i965/Makefile
@@ -6,7 +6,7 @@ EGL_DRIVER_SOURCES = target.c
EGL_DRIVER_LIBS = -ldrm_intel
EGL_DRIVER_DEFINES = \
- -DGALLIUM_SOFTPIPE
+ -DGALLIUM_SOFTPIPE -DGALLIUM_RBUG -DGALLIUM_TRACE
EGL_DRIVER_PIPES = \
$(TOP)/src/gallium/winsys/i965/drm/libi965drm.a \
diff --git a/src/gallium/targets/egl-i965/target.c b/src/gallium/targets/egl-i965/target.c
index ba1eeadd214..1195b510a07 100644
--- a/src/gallium/targets/egl-i965/target.c
+++ b/src/gallium/targets/egl-i965/target.c
@@ -1,5 +1,6 @@
#include "target-helpers/inline_wrapper_sw_helper.h"
+#include "target-helpers/inline_debug_helper.h"
#include "state_tracker/drm_driver.h"
#include "i965/drm/i965_drm_public.h"
#include "i965/brw_public.h"
@@ -21,6 +22,8 @@ create_screen(int fd)
if (debug_get_bool_option("BRW_SOFTPIPE", FALSE))
screen = sw_screen_wrap(screen);
+ screen = debug_screen_wrap(screen);
+
return screen;
}