Lines Matching refs:fdec

912                                const struct tgsi_full_declaration *fdec)  in nvfx_fragprog_parse_decl_input()  argument
914 unsigned idx = fdec->Range.First; in nvfx_fragprog_parse_decl_input()
917 switch (fdec->Semantic.Name) { in nvfx_fragprog_parse_decl_input()
922 hw = NVFX_FP_OP_INPUT_SRC_COL0 + fdec->Semantic.Index; in nvfx_fragprog_parse_decl_input()
931 if (fdec->Semantic.Index >= 8) in nvfx_fragprog_parse_decl_input()
934 fpc->fp->texcoord[fdec->Semantic.Index] = fdec->Semantic.Index; in nvfx_fragprog_parse_decl_input()
935 fpc->fp->texcoords |= (1 << fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
936 fpc->fp->vp_or |= (0x00004000 << fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
937 hw = NVFX_FP_OP_INPUT_SRC_TC(fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
950 const struct tgsi_full_declaration *fdec) in nvfx_fragprog_assign_generic() argument
953 unsigned idx = fdec->Range.First; in nvfx_fragprog_assign_generic()
956 switch (fdec->Semantic.Name) { in nvfx_fragprog_assign_generic()
958 if (fdec->Semantic.Index >= 8) { in nvfx_fragprog_assign_generic()
961 fpc->fp->texcoord[hw] = fdec->Semantic.Index; in nvfx_fragprog_assign_generic()
968 if (fdec->Semantic.Index == 9) in nvfx_fragprog_assign_generic()
985 const struct tgsi_full_declaration *fdec) in nvfx_fragprog_parse_decl_output() argument
987 unsigned idx = fdec->Range.First; in nvfx_fragprog_parse_decl_output()
990 switch (fdec->Semantic.Name) { in nvfx_fragprog_parse_decl_output()
996 switch (fdec->Semantic.Index) { in nvfx_fragprog_parse_decl_output()
1033 const struct tgsi_full_declaration *fdec; in nvfx_fragprog_prepare() local
1034 fdec = &p.FullToken.FullDeclaration; in nvfx_fragprog_prepare()
1035 switch (fdec->Declaration.File) { in nvfx_fragprog_prepare()
1037 if (!nvfx_fragprog_parse_decl_input(nvfx, fpc, fdec)) in nvfx_fragprog_prepare()
1041 if (!nvfx_fragprog_parse_decl_output(nvfx, fpc, fdec)) in nvfx_fragprog_prepare()
1045 if (fdec->Range.Last > high_temp) { in nvfx_fragprog_prepare()
1047 fdec->Range.Last; in nvfx_fragprog_prepare()
1074 const struct tgsi_full_declaration *fdec; in nvfx_fragprog_prepare() local
1078 fdec = &p.FullToken.FullDeclaration; in nvfx_fragprog_prepare()
1079 switch (fdec->Declaration.File) { in nvfx_fragprog_prepare()
1081 if (!nvfx_fragprog_assign_generic(nvfx, fpc, fdec)) in nvfx_fragprog_prepare()