Lines Matching refs:fpv

107 delete_fp_variant(struct st_context *st, struct st_fp_variant *fpv)  in delete_fp_variant()  argument
109 if (fpv->driver_shader) in delete_fp_variant()
110 cso_delete_fragment_shader(st->cso_context, fpv->driver_shader); in delete_fp_variant()
111 if (fpv->parameters) in delete_fp_variant()
112 _mesa_free_parameter_list(fpv->parameters); in delete_fp_variant()
113 if (fpv->tgsi.tokens) in delete_fp_variant()
114 st_free_tokens(fpv->tgsi.tokens); in delete_fp_variant()
115 FREE(fpv); in delete_fp_variant()
125 struct st_fp_variant *fpv; in st_release_fp_variants() local
127 for (fpv = stfp->variants; fpv; ) { in st_release_fp_variants()
128 struct st_fp_variant *next = fpv->next; in st_release_fp_variants()
129 delete_fp_variant(st, fpv); in st_release_fp_variants()
130 fpv = next; in st_release_fp_variants()
777 struct st_fp_variant *fpv; in st_get_fp_variant() local
780 for (fpv = stfp->variants; fpv; fpv = fpv->next) { in st_get_fp_variant()
781 if (memcmp(&fpv->key, key, sizeof(*key)) == 0) { in st_get_fp_variant()
786 if (!fpv) { in st_get_fp_variant()
788 fpv = st_translate_fragment_program(st, stfp, key); in st_get_fp_variant()
789 if (fpv) { in st_get_fp_variant()
791 fpv->next = stfp->variants; in st_get_fp_variant()
792 stfp->variants = fpv; in st_get_fp_variant()
796 return fpv; in st_get_fp_variant()
1179 struct st_fp_variant *fpv, **prevPtr = &stfp->variants; in destroy_program_variants() local
1181 for (fpv = stfp->variants; fpv; ) { in destroy_program_variants()
1182 struct st_fp_variant *next = fpv->next; in destroy_program_variants()
1183 if (fpv->key.st == st) { in destroy_program_variants()
1187 delete_fp_variant(st, fpv); in destroy_program_variants()
1190 prevPtr = &fpv->next; in destroy_program_variants()
1192 fpv = next; in destroy_program_variants()