target-helpers: remove copy-pasted function inline_noop_helper
[mesa.git] / src / gallium / auxiliary / target-helpers / inline_debug_helper.h
index 0433da6141d3c757aac8fd89062e876f46c0b118..c6630c40f5cfd50f47c693a779cbec4851598a28 100644 (file)
 #include "galahad/glhd_public.h"
 #endif
 
+#ifdef GALLIUM_NOOP
+#include "noop/noop_public.h"
+#endif
+
 static INLINE struct pipe_screen *
 debug_screen_wrap(struct pipe_screen *screen)
 {
@@ -38,6 +42,10 @@ debug_screen_wrap(struct pipe_screen *screen)
    screen = galahad_screen_create(screen);
 #endif
 
+#if defined(GALLIUM_NOOP)
+   screen = noop_screen_create(screen);
+#endif
+
    return screen;
 }