1 /**************************************************************************
3 * Copyright 2007 Tungsten Graphics, Inc., Cedar Park, Texas.
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the
8 * "Software"), to deal in the Software without restriction, including
9 * without limitation the rights to use, copy, modify, merge, publish,
10 * distribute, sub license, and/or sell copies of the Software, and to
11 * permit persons to whom the Software is furnished to do so, subject to
12 * the following conditions:
14 * The above copyright notice and this permission notice (including the
15 * next paragraph) shall be included in all copies or substantial portions
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
21 * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
22 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 **************************************************************************/
35 #if defined __cplusplus
45 tgsi_build_header( void );
50 struct tgsi_header *header );
56 struct tgsi_full_declaration
57 tgsi_default_full_declaration( void );
60 tgsi_build_full_declaration(
61 const struct tgsi_full_declaration *full_decl,
62 struct tgsi_token *tokens,
63 struct tgsi_header *header,
70 struct tgsi_full_immediate
71 tgsi_default_full_immediate( void );
74 tgsi_build_full_immediate(
75 const struct tgsi_full_immediate *full_imm,
76 struct tgsi_token *tokens,
77 struct tgsi_header *header,
84 struct tgsi_full_property
85 tgsi_default_full_property( void );
88 tgsi_build_full_property(
89 const struct tgsi_full_property *full_prop,
90 struct tgsi_token *tokens,
91 struct tgsi_header *header,
98 struct tgsi_instruction
99 tgsi_default_instruction( void );
101 struct tgsi_full_instruction
102 tgsi_default_full_instruction( void );
105 tgsi_build_full_instruction(
106 const struct tgsi_full_instruction *full_inst,
107 struct tgsi_token *tokens,
108 struct tgsi_header *header,
111 struct tgsi_instruction_predicate
112 tgsi_default_instruction_predicate(void);
114 #if defined __cplusplus
118 #endif /* TGSI_BUILD_H */