Lines Matching defs:stfp
99 struct st_fragment_program *stfp;
103 stfp = st_fragment_program(st->ctx->FragmentProgram._Current);
104 assert(stfp->Base.Target == GL_FRAGMENT_PROGRAM_ARB);
109 !stfp->ati_fs && /* ATI_fragment_shader always has multiple variants */
110 !stfp->Base.ExternalSamplersUsed && /* external samplers need variants */
111 stfp->variants &&
112 !stfp->variants->key.drawpixels &&
113 !stfp->variants->key.bitmap) {
114 shader = stfp->variants->driver_shader;
131 if (stfp->ati_fs) {
139 key.external = st_get_external_sampler_key(st, &stfp->Base);
141 shader = st_get_fp_variant(st, stfp, &key)->driver_shader;
144 st_reference_fragprog(st, &st->fp, stfp);