Home
last modified time | relevance | path

Searched refs:stcp (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_program.c165 struct st_compute_program *stcp = in st_delete_program() local
168 st_release_cp_variants(st, stcp); in st_delete_program()
170 if (stcp->glsl_to_tgsi) in st_delete_program()
171 free_glsl_to_tgsi_visitor(stcp->glsl_to_tgsi); in st_delete_program()
252 struct st_compute_program *stcp = in st_program_string_notify() local
255 st_release_cp_variants(st, stcp); in st_program_string_notify()
256 if (!st_translate_compute_program(st, stcp)) in st_program_string_notify()
259 if (st->cp == stcp) in st_program_string_notify()
260 st->dirty |= stcp->affected_states; in st_program_string_notify()
Dst_atom_shader.c306 struct st_compute_program *stcp; in update_cp() local
314 stcp = st_compute_program(st->ctx->ComputeProgram._Current); in update_cp()
315 assert(stcp->Base.Target == GL_COMPUTE_PROGRAM_NV); in update_cp()
317 st->cp_variant = st_get_cp_variant(st, &stcp->tgsi, &stcp->variants); in update_cp()
319 st_reference_compprog(st, &st->cp, stcp); in update_cp()
Dst_program.c207 st_release_cp_variants(struct st_context *st, struct st_compute_program *stcp) in st_release_cp_variants() argument
209 struct st_basic_variant **variants = &stcp->variants; in st_release_cp_variants()
214 delete_basic_variant(st, v, stcp->Base.Target); in st_release_cp_variants()
220 if (stcp->tgsi.prog) { in st_release_cp_variants()
221 ureg_free_tokens(stcp->tgsi.prog); in st_release_cp_variants()
222 stcp->tgsi.prog = NULL; in st_release_cp_variants()
1638 struct st_compute_program *stcp) in st_translate_compute_program() argument
1647 st_translate_program_common(st, &stcp->Base, stcp->glsl_to_tgsi, ureg, in st_translate_compute_program()
1650 stcp->tgsi.ir_type = PIPE_SHADER_IR_TGSI; in st_translate_compute_program()
1651 stcp->tgsi.prog = prog.tokens; in st_translate_compute_program()
[all …]
Dst_program.h459 struct st_compute_program *stcp);
491 struct st_compute_program *stcp);
Dst_glsl_to_tgsi.cpp6603 struct st_compute_program *stcp; in get_mesa_program_tgsi() local
6627 stcp = (struct st_compute_program *)prog; in get_mesa_program_tgsi()
6628 stcp->glsl_to_tgsi = v; in get_mesa_program_tgsi()