summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.h
blob: 9256318997a6ef7abf9e1ee621a5c792564dc4a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#if !defined MESA_TO_TGSI_H
#define MESA_TO_TGSI_H

#if defined __cplusplus
extern "C" {
#endif // defined __cplusplus

struct tgsi_token;

GLboolean
tgsi_mesa_compile_fp_program(
   const struct gl_fragment_program *program,
   struct tgsi_token *tokens,
   GLuint maxTokens );

GLboolean
tgsi_mesa_compile_vp_program(
   const struct gl_vertex_program *program,
   struct tgsi_token *tokens,
   GLuint maxTokens );

#if defined __cplusplus
} // extern "C"
#endif // defined __cplusplus

#endif // !defined MESA_TO_TGSI_H