Trigger tgsi compilation for fragment programs.
[mesa.git] / src / mesa / pipe / tgsi / mesa / mesa_to_tgsi.h
1 #if !defined MESA_TO_TGSI_H
2 #define MESA_TO_TGSI_H
3
4 #if defined __cplusplus
5 extern "C" {
6 #endif // defined __cplusplus
7
8 struct tgsi_token;
9
10 GLboolean
11 tgsi_mesa_compile_fp_program(
12 const struct gl_fragment_program *program,
13 struct tgsi_token *tokens,
14 GLuint maxTokens );
15
16 GLboolean
17 tgsi_mesa_compile_vp_program(
18 const struct gl_vertex_program *program,
19 struct tgsi_token *tokens,
20 GLuint maxTokens );
21
22 #if defined __cplusplus
23 } // extern "C"
24 #endif // defined __cplusplus
25
26 #endif // !defined MESA_TO_TGSI_H
27