mesa: added GLcontext::Meta field for meta rendering state
[mesa.git] / src / gallium / state_trackers / g3dvl / vl_shader_build.h
1 #ifndef vl_shader_build_h
2 #define vl_shader_build_h
3
4 #include <pipe/p_shader_tokens.h>
5
6 struct tgsi_full_declaration vl_decl_input(unsigned int name, unsigned int index, unsigned int first, unsigned int last);
7 struct tgsi_full_declaration vl_decl_interpolated_input
8 (
9 unsigned int name,
10 unsigned int index,
11 unsigned int first,
12 unsigned int last,
13 int interpolation
14 );
15 struct tgsi_full_declaration vl_decl_constants(unsigned int name, unsigned int index, unsigned int first, unsigned int last);
16 struct tgsi_full_declaration vl_decl_output(unsigned int name, unsigned int index, unsigned int first, unsigned int last);
17 struct tgsi_full_declaration vl_decl_temps(unsigned int first, unsigned int last);
18 struct tgsi_full_declaration vl_decl_samplers(unsigned int first, unsigned int last);
19 struct tgsi_full_instruction vl_inst2
20 (
21 int opcode,
22 enum tgsi_file_type dst_file,
23 unsigned int dst_index,
24 enum tgsi_file_type src_file,
25 unsigned int src_index
26 );
27 struct tgsi_full_instruction vl_inst3
28 (
29 int opcode,
30 enum tgsi_file_type dst_file,
31 unsigned int dst_index,
32 enum tgsi_file_type src1_file,
33 unsigned int src1_index,
34 enum tgsi_file_type src2_file,
35 unsigned int src2_index
36 );
37 struct tgsi_full_instruction vl_tex
38 (
39 int tex,
40 enum tgsi_file_type dst_file,
41 unsigned int dst_index,
42 enum tgsi_file_type src1_file,
43 unsigned int src1_index,
44 enum tgsi_file_type src2_file,
45 unsigned int src2_index
46 );
47 struct tgsi_full_instruction vl_inst4
48 (
49 int opcode,
50 enum tgsi_file_type dst_file,
51 unsigned int dst_index,
52 enum tgsi_file_type src1_file,
53 unsigned int src1_index,
54 enum tgsi_file_type src2_file,
55 unsigned int src2_index,
56 enum tgsi_file_type src3_file,
57 unsigned int src3_index
58 );
59 struct tgsi_full_instruction vl_end(void);
60
61 #endif