Home | History | Annotate | Download | only in codegen

Lines Matching refs:decl

784 bool Source::scanDeclaration(const struct tgsi_full_declaration *decl)
789 const unsigned first = decl->Range.First, last = decl->Range.Last;
791 if (decl->Declaration.Semantic) {
792 sn = decl->Semantic.Name;
793 si = decl->Semantic.Index;
796 switch (decl->Declaration.File) {
811 switch (decl->Interp.Interpolate) {
824 if (decl->Interp.Centroid)
852 decl->Declaration.UsageMask << (si * 4);
882 samplerViewTargets[i] = decl->SamplerView.Resource;
886 if (decl->Dim.Index2D >= immdArrayCount)
887 immdArrayCount = decl->Dim.Index2D + 1;
888 immdArrays[decl->Dim.Index2D].u32 = (last + 1) << 2;
891 switch (decl->Declaration.UsageMask) {
898 immdArrays[decl->Dim.Index2D].u32 |= c;
906 info->immd.buf[base + i] = decl->ImmediateData.u[i].Uint;
911 if (decl->Dim.Index2D >= tempArrayCount)
912 tempArrayCount = decl->Dim.Index2D + 1;
913 tempArrays[decl->Dim.Index2D].u32 = (last + 1) << 2;
916 switch (decl->Declaration.UsageMask) {
923 tempArrays[decl->Dim.Index2D].u32 |= c;
937 ERROR("unhandled TGSI_FILE %d\n", decl->Declaration.File);