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 = mem_type; in tgsi_build_declaration()
152 return declaration; in tgsi_build_declaration()
180 struct tgsi_declaration *declaration, in tgsi_build_declaration_range() argument
191 declaration_grow( declaration, header ); in tgsi_build_declaration_range()
198 struct tgsi_declaration *declaration, in tgsi_build_declaration_dimension() argument
208 declaration_grow(declaration, header); in tgsi_build_declaration_dimension()
230 struct tgsi_declaration *declaration, in tgsi_build_declaration_interp() argument
240 declaration_grow(declaration, header); in tgsi_build_declaration_interp()
268 struct tgsi_declaration *declaration, in tgsi_build_declaration_semantic() argument
283 declaration_grow( declaration, header ); in tgsi_build_declaration_semantic()
307 struct tgsi_declaration *declaration, in tgsi_build_declaration_image() argument
318 declaration_grow(declaration, header); in tgsi_build_declaration_image()
343 struct tgsi_declaration *declaration, in tgsi_build_declaration_sampler_view() argument
355 declaration_grow(declaration, header); in tgsi_build_declaration_sampler_view()
374 struct tgsi_declaration *declaration, in tgsi_build_declaration_array() argument
382 declaration_grow(declaration, header); in tgsi_build_declaration_array()
412 struct tgsi_declaration *declaration; in tgsi_build_full_declaration() local
417 declaration = (struct tgsi_declaration *) &tokens[size]; in tgsi_build_full_declaration()
420 *declaration = tgsi_build_declaration( in tgsi_build_full_declaration()
441 declaration, in tgsi_build_full_declaration()
454 declaration, in tgsi_build_full_declaration()
470 declaration, in tgsi_build_full_declaration()
489 declaration, in tgsi_build_full_declaration()
506 declaration, in tgsi_build_full_declaration()
525 declaration, in tgsi_build_full_declaration()
539 declaration, in tgsi_build_full_declaration()