13372d75fd318c9e5864d3394f695e5d9fa1c14a
[mesa.git] / src / mesa / state_tracker / st_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_translate_mesa_program(
12 uint procType,
13 const struct gl_program *program,
14 GLuint numInputs,
15 const GLuint inputMapping[],
16 const ubyte inputSemanticName[],
17 const ubyte inputSemanticIndex[],
18 const GLuint interpMode[],
19 GLuint numOutputs,
20 const GLuint outputMapping[],
21 const ubyte outputSemanticName[],
22 const ubyte outputSemanticIndex[],
23 struct tgsi_token *tokens,
24 GLuint maxTokens );
25
26
27 #if defined __cplusplus
28 } // extern "C"
29 #endif // defined __cplusplus
30
31 #endif // !defined MESA_TO_TGSI_H
32