Lines Matching refs:stfp
123 st_release_fp_variants(struct st_context *st, struct st_fragment_program *stfp) in st_release_fp_variants() argument
127 for (fpv = stfp->variants; fpv; ) { in st_release_fp_variants()
133 stfp->variants = NULL; in st_release_fp_variants()
470 struct st_fragment_program *stfp, in st_translate_fragment_program() argument
505 st_make_bitmap_fragment_program(st, &stfp->Base, in st_translate_fragment_program()
509 stfp = st_fragment_program(fp); in st_translate_fragment_program()
522 st_make_drawpix_fragment_program(st, &stfp->Base, &fp); in st_translate_fragment_program()
526 stfp = st_fragment_program(fp); in st_translate_fragment_program()
530 if (!stfp->glsl_to_tgsi) in st_translate_fragment_program()
531 _mesa_remove_output_reads(&stfp->Base.Base, PROGRAM_OUTPUT); in st_translate_fragment_program()
536 inputsRead = stfp->Base.Base.InputsRead; in st_translate_fragment_program()
542 is_centroid[slot] = (stfp->Base.IsCentroid & BITFIELD64_BIT(attr)) != 0; in st_translate_fragment_program()
553 interpMode[slot] = st_translate_interp(stfp->Base.InterpQualifier[attr], in st_translate_fragment_program()
559 interpMode[slot] = st_translate_interp(stfp->Base.InterpQualifier[attr], in st_translate_fragment_program()
617 interpMode[slot] = st_translate_interp(stfp->Base.InterpQualifier[attr], in st_translate_fragment_program()
632 GLbitfield64 outputsWritten = stfp->Base.Base.OutputsWritten; in st_translate_fragment_program()
684 _mesa_print_program(&stfp->Base.Base); in st_translate_fragment_program()
685 _mesa_print_program_parameters(st->ctx, &stfp->Base.Base); in st_translate_fragment_program()
691 if (stfp->Base.FragDepthLayout != FRAG_DEPTH_LAYOUT_NONE) { in st_translate_fragment_program()
692 switch (stfp->Base.FragDepthLayout) { in st_translate_fragment_program()
710 if (stfp->glsl_to_tgsi) in st_translate_fragment_program()
714 stfp->glsl_to_tgsi, in st_translate_fragment_program()
715 &stfp->Base.Base, in st_translate_fragment_program()
733 &stfp->Base.Base, in st_translate_fragment_program()
761 struct gl_fragment_program *fp = &stfp->Base; in st_translate_fragment_program()
774 struct st_fragment_program *stfp, in st_get_fp_variant() argument
780 for (fpv = stfp->variants; fpv; fpv = fpv->next) { in st_get_fp_variant()
788 fpv = st_translate_fragment_program(st, stfp, key); in st_get_fp_variant()
791 fpv->next = stfp->variants; in st_get_fp_variant()
792 stfp->variants = fpv; in st_get_fp_variant()
1177 struct st_fragment_program *stfp = in destroy_program_variants() local
1179 struct st_fp_variant *fpv, **prevPtr = &stfp->variants; in destroy_program_variants()
1181 for (fpv = stfp->variants; fpv; ) { in destroy_program_variants()