unsigned usage_mask,
unsigned interpolate,
unsigned semantic,
+ unsigned centroid,
+ unsigned invariant,
struct tgsi_header *header )
{
struct tgsi_declaration declaration;
declaration.UsageMask = usage_mask;
declaration.Interpolate = interpolate;
declaration.Semantic = semantic;
+ declaration.Centroid = centroid;
+ declaration.Invariant = invariant;
header_bodysize_grow( header );
full_decl->Declaration.UsageMask,
full_decl->Declaration.Interpolate,
full_decl->Declaration.Semantic,
+ full_decl->Declaration.Centroid,
+ full_decl->Declaration.Invariant,
header );
if (maxsize <= size)