Checkpoint: new vertex/fragment attribute naming
[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 uint
23 tgsi_mesa_translate_vertex_input(GLuint attrib);
24
25 uint
26 tgsi_mesa_translate_vertex_output(GLuint attrib);
27
28 uint
29 tgsi_mesa_translate_fragment_input(GLuint attrib);
30
31 uint
32 tgsi_mesa_translate_fragment_output(GLuint attrib);
33
34 uint
35 tgsi_mesa_translate_vertex_input_mask(GLbitfield mask);
36
37 uint
38 tgsi_mesa_translate_vertex_output_mask(GLbitfield mask);
39
40 uint
41 tgsi_mesa_translate_fragment_input_mask(GLbitfield mask);
42
43 uint
44 tgsi_mesa_translate_fragment_output_mask(GLbitfield mask);
45
46
47 #if defined __cplusplus
48 } // extern "C"
49 #endif // defined __cplusplus
50
51 #endif // !defined MESA_TO_TGSI_H
52