Searched refs:stfp (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_program.c | 123 struct st_fragment_program *stfp = in st_delete_program() local 126 st_release_fp_variants(st, stfp); in st_delete_program() 128 if (stfp->glsl_to_tgsi) in st_delete_program() 129 free_glsl_to_tgsi_visitor(stfp->glsl_to_tgsi); in st_delete_program() 166 struct st_fragment_program *stfp = (struct st_fragment_program *) prog; in st_program_string_notify() local 168 st_release_fp_variants(st, stfp); in st_program_string_notify() 169 if (!st_translate_fragment_program(st, stfp)) in st_program_string_notify() 172 if (st->fp == stfp) in st_program_string_notify() 173 st->dirty |= stfp->affected_states; in st_program_string_notify() 234 struct st_fragment_program *stfp = (struct st_fragment_program *) prog; in st_program_string_notify() local [all …]
|
D | st_program.c | 270 st_release_fp_variants(struct st_context *st, struct st_fragment_program *stfp) in st_release_fp_variants() argument 274 for (fpv = stfp->variants; fpv; ) { in st_release_fp_variants() 280 stfp->variants = NULL; in st_release_fp_variants() 282 if ((stfp->tgsi.type == PIPE_SHADER_IR_TGSI) && stfp->tgsi.tokens) { in st_release_fp_variants() 283 ureg_free_tokens(stfp->tgsi.tokens); in st_release_fp_variants() 284 stfp->tgsi.tokens = NULL; in st_release_fp_variants() 646 struct st_fragment_program *stfp) in st_translate_fragment_program() argument 669 if (!stfp->glsl_to_tgsi && !stfp->shader_program) { in st_translate_fragment_program() 670 _mesa_remove_output_reads(&stfp->Base, PROGRAM_OUTPUT); in st_translate_fragment_program() 672 _mesa_program_fragment_position_to_sysval(&stfp->Base); in st_translate_fragment_program() [all …]
|
D | st_atom_shader.c | 99 struct st_fragment_program *stfp; in st_update_fp() local 103 stfp = st_fragment_program(st->ctx->FragmentProgram._Current); in st_update_fp() 104 assert(stfp->Base.Target == GL_FRAGMENT_PROGRAM_ARB); in st_update_fp() 109 !stfp->ati_fs && /* ATI_fragment_shader always has multiple variants */ in st_update_fp() 110 !stfp->Base.ExternalSamplersUsed && /* external samplers need variants */ in st_update_fp() 111 stfp->variants && in st_update_fp() 112 !stfp->variants->key.drawpixels && in st_update_fp() 113 !stfp->variants->key.bitmap) { in st_update_fp() 114 shader = stfp->variants->driver_shader; in st_update_fp() 131 if (stfp->ati_fs) { in st_update_fp() [all …]
|
D | st_shader_cache.c | 91 struct st_fragment_program *stfp = (struct st_fragment_program *) prog; in st_serialise_tgsi_program() local 93 write_tgsi_to_cache(&blob, stfp->tgsi.tokens, prog, in st_serialise_tgsi_program() 94 stfp->num_tgsi_tokens); in st_serialise_tgsi_program() 233 struct st_fragment_program *stfp = (struct st_fragment_program *) prog; in st_deserialise_tgsi_program() local 235 st_release_fp_variants(st, stfp); in st_deserialise_tgsi_program() 237 read_tgsi_from_cache(&blob_reader, &stfp->tgsi.tokens, in st_deserialise_tgsi_program() 238 &stfp->num_tgsi_tokens); in st_deserialise_tgsi_program() 240 if (st->fp == stfp) in st_deserialise_tgsi_program() 241 st->dirty |= stfp->affected_states; in st_deserialise_tgsi_program()
|
D | st_program.h | 388 struct st_fragment_program *stfp, 407 struct st_fragment_program *stfp ); 427 struct st_fragment_program *stfp);
|
D | st_glsl_to_nir.cpp | 423 struct st_fragment_program *stfp; in set_st_program() local 442 stfp = (struct st_fragment_program *)prog; in set_st_program() 443 stfp->shader_program = shader_program; in set_st_program() 444 stfp->tgsi.type = PIPE_SHADER_IR_NIR; in set_st_program() 445 stfp->tgsi.ir.nir = nir; in set_st_program()
|
D | st_atifs_to_tgsi.c | 542 struct st_fragment_program *stfp = (struct st_fragment_program *) prog; in st_init_atifs_prog() local 543 struct ati_fragment_shader *atifs = stfp->ati_fs; in st_init_atifs_prog()
|
D | st_glsl_to_tgsi.cpp | 6828 struct st_fragment_program *stfp; in get_mesa_program_tgsi() local 6838 stfp = (struct st_fragment_program *)prog; in get_mesa_program_tgsi() 6839 stfp->glsl_to_tgsi = v; in get_mesa_program_tgsi()
|