Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7477>
#ifndef NIR_DRAW_HELPERS_H
#define NIR_DRAW_HELPERS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct nir_shader;
void
nir_lower_pstipple_fs(struct nir_shader *shader,
void
nir_lower_aapoint_fs(struct nir_shader *shader, int *varying);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif
#include "pipe/p_compiler.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct pipe_context;
struct pipe_resource;
struct pipe_shader_state;
unsigned fixed_unit,
unsigned wincoordFile);
+#ifdef __cplusplus
+}
+#endif
#endif