1 /**************************************************************************
3 * Copyright 2007 VMware, Inc.
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 VMWARE 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 **************************************************************************/
31 #include "tgsi/tgsi_parse.h"
33 #if defined __cplusplus
43 tgsi_build_header( void );
48 struct tgsi_header
*header
);
54 struct tgsi_full_declaration
55 tgsi_default_full_declaration( void );
58 tgsi_build_full_declaration(
59 const struct tgsi_full_declaration
*full_decl
,
60 struct tgsi_token
*tokens
,
61 struct tgsi_header
*header
,
68 struct tgsi_full_immediate
69 tgsi_default_full_immediate( void );
72 tgsi_build_full_immediate(
73 const struct tgsi_full_immediate
*full_imm
,
74 struct tgsi_token
*tokens
,
75 struct tgsi_header
*header
,
82 struct tgsi_full_property
83 tgsi_default_full_property( void );
86 tgsi_build_full_property(
87 const struct tgsi_full_property
*full_prop
,
88 struct tgsi_token
*tokens
,
89 struct tgsi_header
*header
,
96 struct tgsi_instruction
97 tgsi_default_instruction( void );
99 struct tgsi_full_instruction
100 tgsi_default_full_instruction( void );
103 tgsi_build_full_instruction(
104 const struct tgsi_full_instruction
*full_inst
,
105 struct tgsi_token
*tokens
,
106 struct tgsi_header
*header
,
109 struct tgsi_full_src_register
110 tgsi_full_src_register_from_dst(const struct tgsi_full_dst_register
*dst
);
112 #if defined __cplusplus
116 #endif /* TGSI_BUILD_H */