Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_program.c140 struct st_geometry_program *stgp = in st_delete_program() local
143 st_release_gp_variants(st, stgp); in st_delete_program()
145 if (stgp->glsl_to_tgsi) in st_delete_program()
146 free_glsl_to_tgsi_visitor(stgp->glsl_to_tgsi); in st_delete_program()
148 if (stgp->tgsi.tokens) { in st_delete_program()
149 st_free_tokens((void *) stgp->tgsi.tokens); in st_delete_program()
150 stgp->tgsi.tokens = NULL; in st_delete_program()
207 struct st_geometry_program *stgp = (struct st_geometry_program *) prog; in st_program_string_notify() local
209 st_release_gp_variants(st, stgp); in st_program_string_notify()
211 if (stgp->tgsi.tokens) { in st_program_string_notify()
[all …]
Dst_program.c155 st_release_gp_variants(struct st_context *st, struct st_geometry_program *stgp) in st_release_gp_variants() argument
159 for (gpv = stgp->variants; gpv; ) { in st_release_gp_variants()
165 stgp->variants = NULL; in st_release_gp_variants()
805 struct st_geometry_program *stgp, in st_translate_geometry_program() argument
834 _mesa_remove_output_reads(&stgp->Base.Base, PROGRAM_OUTPUT); in st_translate_geometry_program()
835 _mesa_remove_output_reads(&stgp->Base.Base, PROGRAM_VARYING); in st_translate_geometry_program()
852 inputsRead = stgp->Base.Base.InputsRead; in st_translate_geometry_program()
861 stgp->input_map[slot + gs_array_offset] = vslot - gs_builtin_inputs; in st_translate_geometry_program()
862 stgp->input_to_index[attr] = vslot; in st_translate_geometry_program()
863 stgp->index_to_input[vslot] = attr; in st_translate_geometry_program()
[all …]
Dst_atom_shader.c177 struct st_geometry_program *stgp; in update_gp() local
185 stgp = st_geometry_program(st->ctx->GeometryProgram._Current); in update_gp()
186 assert(stgp->Base.Base.Target == MESA_GEOMETRY_PROGRAM); in update_gp()
191 st->gp_variant = st_get_gp_variant(st, stgp, &key); in update_gp()
193 st_reference_geomprog(st, &st->gp, stgp); in update_gp()
Dst_program.h285 struct st_geometry_program *stgp,
308 struct st_geometry_program *stgp);
Dst_glsl_to_tgsi.cpp4955 struct st_geometry_program *stgp; in get_mesa_program() local
4967 stgp = (struct st_geometry_program *)prog; in get_mesa_program()
4968 stgp->glsl_to_tgsi = v; in get_mesa_program()