Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to produce...
[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 GLuint numInputs,
14 const GLuint inputMapping[],
15 const ubyte inputSemanticName[],
16 const ubyte inputSemanticIndex[],
17 const GLuint interpMode[],
18 const GLuint outputMapping[],
19 struct tgsi_token *tokens,
20 GLuint maxTokens );
21
22 GLboolean
23 tgsi_mesa_compile_vp_program(
24 const struct gl_vertex_program *program,
25 GLuint numInputs,
26 const GLuint inputMapping[],
27 const ubyte inputSemanticName[],
28 const ubyte inputSemanticIndex[],
29 const GLuint outputMapping[],
30 struct tgsi_token *tokens,
31 GLuint maxTokens );
32
33
34 #if defined __cplusplus
35 } // extern "C"
36 #endif // defined __cplusplus
37
38 #endif // !defined MESA_TO_TGSI_H
39