Home
last modified time | relevance | path

Searched refs:stvp (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_program.c91 struct st_vertex_program *stvp ) in st_release_vp_variants() argument
95 for (vpv = stvp->variants; vpv; ) { in st_release_vp_variants()
101 stvp->variants = NULL; in st_release_vp_variants()
103 if ((stvp->tgsi.type == PIPE_SHADER_IR_TGSI) && stvp->tgsi.tokens) { in st_release_vp_variants()
104 tgsi_free_tokens(stvp->tgsi.tokens); in st_release_vp_variants()
105 stvp->tgsi.tokens = NULL; in st_release_vp_variants()
232 struct st_vertex_program *stvp) in st_translate_vertex_program() argument
243 stvp->num_inputs = 0; in st_translate_vertex_program()
245 if (stvp->Base.arb.IsPositionInvariant) in st_translate_vertex_program()
246 _mesa_insert_mvp_code(st->ctx, &stvp->Base); in st_translate_vertex_program()
[all …]
Dst_cb_program.c109 struct st_vertex_program *stvp = (struct st_vertex_program *) prog; in st_delete_program() local
110 st_release_vp_variants( st, stvp ); in st_delete_program()
112 if (stvp->glsl_to_tgsi) in st_delete_program()
113 free_glsl_to_tgsi_visitor(stvp->glsl_to_tgsi); in st_delete_program()
218 struct st_vertex_program *stvp = (struct st_vertex_program *) prog; in st_program_string_notify() local
220 st_release_vp_variants(st, stvp); in st_program_string_notify()
221 if (!st_translate_vertex_program(st, stvp)) in st_program_string_notify()
224 if (st->vp == stvp) in st_program_string_notify()
225 st->dirty |= ST_NEW_VERTEX_PROGRAM(st, stvp); in st_program_string_notify()
Dst_atom_shader.c170 struct st_vertex_program *stvp; in update_vp() local
177 stvp = st_vertex_program(st->ctx->VertexProgram._Current); in update_vp()
178 assert(stvp->Base.Target == GL_VERTEX_PROGRAM_ARB); in update_vp()
193 (stvp->Base.info.outputs_written & in update_vp()
199 st->vp_variant = st_get_vp_variant(st, stvp, &key); in update_vp()
201 st_reference_vertprog(st, &st->vp, stvp); in update_vp()
206 st->vertex_result_to_slot = stvp->result_to_output; in update_vp()
Dst_program.h429 struct st_vertex_program *stvp,
451 struct st_vertex_program *stvp );
471 struct st_vertex_program *stvp);
Dst_glsl_to_nir.cpp431 struct st_vertex_program *stvp; in st_nir_get_mesa_program() local
436 stvp = (struct st_vertex_program *)prog; in st_nir_get_mesa_program()
437 stvp->shader_program = shader_program; in st_nir_get_mesa_program()
Dst_glsl_to_tgsi.cpp6598 struct st_vertex_program *stvp; in get_mesa_program_tgsi() local
6607 stvp = (struct st_vertex_program *)prog; in get_mesa_program_tgsi()
6608 stvp->glsl_to_tgsi = v; in get_mesa_program_tgsi()