radeonsi: move handling of DBG_NO_OPT_VARIANT into si_shader_selector_key
[mesa.git] / src / gallium / drivers / rbug / rbug_public.h
index f3cb19a340533e04e9409b2237a838436e9a2225..83f9c94e31ff8f2d55cf08438edfb11ae918e25e 100644 (file)
 #ifndef RBUG_PUBLIC_H
 #define RBUG_PUBLIC_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct pipe_screen;
 struct pipe_context;
 
 struct pipe_screen *
 rbug_screen_create(struct pipe_screen *screen);
 
+boolean
+rbug_enabled(void);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* RBUG_PUBLIC_H */