1 #ifndef vl_shader_build_h
2 #define vl_shader_build_h
4 #include <pipe/p_shader_tokens.h>
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
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
22 enum tgsi_file_type dst_file
,
23 unsigned int dst_index
,
24 enum tgsi_file_type src_file
,
25 unsigned int src_index
27 struct tgsi_full_instruction vl_inst3
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
37 struct tgsi_full_instruction vl_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
47 struct tgsi_full_instruction vl_inst4
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
59 struct tgsi_full_instruction
vl_end(void);