mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
gallium: Wrap some header files into "extern C"
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>
This commit is contained in:
parent
449c4baf50
commit
07d189c416
2 changed files with 17 additions and 0 deletions
|
|
@ -25,6 +25,11 @@
|
|||
|
||||
#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,
|
||||
|
|
@ -37,4 +42,9 @@ nir_lower_aaline_fs(struct nir_shader *shader, int *varying);
|
|||
|
||||
void
|
||||
nir_lower_aapoint_fs(struct nir_shader *shader, int *varying);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -31,6 +31,10 @@
|
|||
|
||||
#include "pipe/p_compiler.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct pipe_context;
|
||||
struct pipe_resource;
|
||||
struct pipe_shader_state;
|
||||
|
|
@ -58,5 +62,8 @@ util_pstipple_create_fragment_shader(const struct tgsi_token *tokens,
|
|||
unsigned fixed_unit,
|
||||
unsigned wincoordFile);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue