Lines Matching defs:ifs
569 struct i915_fragment_shader *ifs = CALLOC_STRUCT(i915_fragment_shader);
570 if (!ifs)
573 ifs->draw_data = draw_create_fragment_shader(i915->draw, templ);
574 ifs->state.tokens = tgsi_dup_tokens(templ->tokens);
576 tgsi_scan_shader(templ->tokens, &ifs->info);
579 i915_translate_fragment_program(i915, ifs);
581 return ifs;
615 struct i915_fragment_shader *ifs = (struct i915_fragment_shader *) shader;
617 if (ifs->decl) {
618 FREE(ifs->decl);
619 ifs->decl = NULL;
622 if (ifs->program) {
623 FREE(ifs->program);
624 ifs->program = NULL;
625 FREE((struct tgsi_token *)ifs->state.tokens);
626 ifs->state.tokens = NULL;
628 ifs->program_len = 0;
629 ifs->decl_len = 0;
631 FREE(ifs);