Lines Matching refs:declaration
88 struct tgsi_declaration *declaration, in declaration_grow() argument
91 assert( declaration->NrTokens < 0xFF ); in declaration_grow()
93 declaration->NrTokens++; in declaration_grow()
101 struct tgsi_declaration declaration; in tgsi_default_declaration() local
103 declaration.Type = TGSI_TOKEN_TYPE_DECLARATION; in tgsi_default_declaration()
104 declaration.NrTokens = 1; in tgsi_default_declaration()
105 declaration.File = TGSI_FILE_NULL; in tgsi_default_declaration()
106 declaration.UsageMask = TGSI_WRITEMASK_XYZW; in tgsi_default_declaration()
107 declaration.Interpolate = 0; in tgsi_default_declaration()
108 declaration.Dimension = 0; in tgsi_default_declaration()
109 declaration.Semantic = 0; in tgsi_default_declaration()
110 declaration.Invariant = 0; in tgsi_default_declaration()
111 declaration.Local = 0; in tgsi_default_declaration()
112 declaration.Array = 0; in tgsi_default_declaration()
113 declaration.Atomic = 0; in tgsi_default_declaration()
114 declaration.MemType = TGSI_MEMORY_TYPE_GLOBAL; in tgsi_default_declaration()
115 declaration.Padding = 0; in tgsi_default_declaration()
117 return declaration; in tgsi_default_declaration()
134 struct tgsi_declaration declaration; in tgsi_build_declaration() local
139 declaration = tgsi_default_declaration(); in tgsi_build_declaration()
140 declaration.File = file; in tgsi_build_declaration()
141 declaration.UsageMask = usage_mask; in tgsi_build_declaration()
142 declaration.Interpolate = interpolate; in tgsi_build_declaration()
143 declaration.Dimension = dimension; in tgsi_build_declaration()
144 declaration.Semantic = semantic; in tgsi_build_declaration()
145 declaration.Invariant = invariant; in tgsi_build_declaration()
146 declaration.Local = local; in tgsi_build_declaration()
147 declaration.Array = array; in tgsi_build_declaration()
148 declaration.Atomic = atomic; in tgsi_build_declaration()
149 declaration.MemType = memtype; in tgsi_build_declaration()
152 return declaration; in tgsi_build_declaration()
170 struct tgsi_declaration *declaration, in tgsi_build_declaration_range() argument
181 declaration_grow( declaration, header ); in tgsi_build_declaration_range()
188 struct tgsi_declaration *declaration, in tgsi_build_declaration_dimension() argument
198 declaration_grow(declaration, header); in tgsi_build_declaration_dimension()
220 struct tgsi_declaration *declaration, in tgsi_build_declaration_interp() argument
230 declaration_grow(declaration, header); in tgsi_build_declaration_interp()
258 struct tgsi_declaration *declaration, in tgsi_build_declaration_semantic() argument
273 declaration_grow( declaration, header ); in tgsi_build_declaration_semantic()
297 struct tgsi_declaration *declaration, in tgsi_build_declaration_image() argument
308 declaration_grow(declaration, header); in tgsi_build_declaration_image()
333 struct tgsi_declaration *declaration, in tgsi_build_declaration_sampler_view() argument
345 declaration_grow(declaration, header); in tgsi_build_declaration_sampler_view()
364 struct tgsi_declaration *declaration, in tgsi_build_declaration_array() argument
372 declaration_grow(declaration, header); in tgsi_build_declaration_array()
401 struct tgsi_declaration *declaration; in tgsi_build_full_declaration() local
406 declaration = (struct tgsi_declaration *) &tokens[size]; in tgsi_build_full_declaration()
409 *declaration = tgsi_build_declaration( in tgsi_build_full_declaration()
430 declaration, in tgsi_build_full_declaration()
443 declaration, in tgsi_build_full_declaration()
459 declaration, in tgsi_build_full_declaration()
478 declaration, in tgsi_build_full_declaration()
495 declaration, in tgsi_build_full_declaration()
514 declaration, in tgsi_build_full_declaration()
528 declaration, in tgsi_build_full_declaration()