Searched refs:stvp (Results 1 - 13 of 13) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_shader_cache.c86 struct st_vertex_program *stvp = (struct st_vertex_program *) prog; local in function:st_serialise_ir_program
88 blob_write_uint32(&blob, stvp->num_inputs);
89 blob_write_bytes(&blob, stvp->index_to_input,
90 sizeof(stvp->index_to_input));
91 blob_write_bytes(&blob, stvp->input_to_index,
92 sizeof(stvp->input_to_index));
93 blob_write_bytes(&blob, stvp->result_to_output,
94 sizeof(stvp->result_to_output));
96 write_stream_out_to_cache(&blob, &stvp->tgsi);
101 write_tgsi_to_cache(&blob, stvp
208 struct st_vertex_program *stvp = (struct st_vertex_program *) prog; local in function:st_deserialise_ir_program
[all...]
H A Dst_program.c256 struct st_vertex_program *stvp )
260 for (vpv = stvp->variants; vpv; ) {
266 stvp->variants = NULL;
268 delete_ir(&stvp->tgsi);
460 struct st_vertex_program *stvp)
469 stvp->num_inputs = 0;
470 memset(stvp->input_to_index, ~0, sizeof(stvp->input_to_index));
472 if (stvp->Base.arb.IsPositionInvariant)
473 _mesa_insert_mvp_code(st->ctx, &stvp
255 st_release_vp_variants(struct st_context * st,struct st_vertex_program * stvp) argument
459 st_translate_vertex_program(struct st_context * st,struct st_vertex_program * stvp) argument
637 st_create_vp_variant(struct st_context * st,struct st_vertex_program * stvp,const struct st_vp_variant_key * key) argument
708 st_get_vp_variant(struct st_context * st,struct st_vertex_program * stvp,const struct st_vp_variant_key * key) argument
1872 struct st_vertex_program *stvp = (struct st_vertex_program *) target; local in function:destroy_program_variants
2026 struct st_vertex_program *stvp = local in function:st_print_current_vertex_program
[all...]
H A Dst_atom_shader.c160 struct st_vertex_program *stvp; local in function:st_update_vp
166 stvp = st_vertex_program(st->ctx->VertexProgram._Current);
167 assert(stvp->Base.Target == GL_VERTEX_PROGRAM_ARB);
170 stvp->variants &&
171 stvp->variants->key.passthrough_edgeflags == st->vertdata_edgeflags) {
172 st->vp_variant = stvp->variants;
190 (stvp->Base.info.outputs_written &
196 st->vp_variant = st_get_vp_variant(st, stvp, &key);
199 st_reference_vertprog(st, &st->vp, stvp);
H A Dst_cb_program.c102 struct st_vertex_program *stvp = (struct st_vertex_program *) prog; local in function:st_delete_program
103 st_release_vp_variants( st, stvp );
105 if (stvp->glsl_to_tgsi)
106 free_glsl_to_tgsi_visitor(stvp->glsl_to_tgsi);
188 struct st_vertex_program *stvp = (struct st_vertex_program *) prog; local in function:st_program_string_notify
190 st_release_vp_variants(st, stvp);
191 if (!st_translate_vertex_program(st, stvp))
194 if (st->vp == stvp)
195 st->dirty |= ST_NEW_VERTEX_PROGRAM(st, stvp);
H A Dst_program.h387 struct st_vertex_program *stvp,
408 struct st_vertex_program *stvp );
428 struct st_vertex_program *stvp);
H A Dst_glsl_to_nir.cpp555 struct st_vertex_program *stvp; local in function:set_st_program
562 stvp = (struct st_vertex_program *)prog;
563 stvp->shader_program = shader_program;
564 stvp->tgsi.type = PIPE_SHADER_IR_NIR;
565 stvp->tgsi.ir.nir = nir;
H A Dst_glsl_to_tgsi.cpp7257 struct st_vertex_program *stvp; local in function:get_mesa_program_tgsi
7264 stvp = (struct st_vertex_program *)prog;
7265 stvp->glsl_to_tgsi = v;
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_shader_cache.c100 struct st_vertex_program *stvp = (struct st_vertex_program *)stp; local in function:st_serialise_ir_program
102 blob_write_uint32(&blob, stvp->num_inputs);
103 blob_write_uint32(&blob, stvp->vert_attrib_mask);
104 blob_write_bytes(&blob, stvp->result_to_output,
105 sizeof(stvp->result_to_output));
196 struct st_vertex_program *stvp = (struct st_vertex_program *)stp; local in function:st_deserialise_ir_program
197 stvp->num_inputs = blob_read_uint32(&blob_reader);
198 stvp->vert_attrib_mask = blob_read_uint32(&blob_reader);
199 blob_copy_bytes(&blob_reader, (uint8_t *) stvp->result_to_output,
200 sizeof(stvp
[all...]
H A Dst_atom_shader.c205 struct st_program *stvp; local in function:st_update_vp
211 stvp = st_program(st->ctx->VertexProgram._Current);
212 assert(stvp->Base.Target == GL_VERTEX_PROGRAM_ARB);
216 st->vp_variant = st_common_variant(stvp->variants);
234 (stvp->Base.info.outputs_written &
264 st->vp_variant = st_get_common_variant(st, stvp, &key);
268 st_reference_prog(st, &st->vp, stvp);
H A Dst_cb_feedback.c87 struct st_vertex_program *stvp = (struct st_vertex_program *)st->vp; local in function:feedback_vertex
105 slot = stvp->result_to_output[VARYING_SLOT_COL0];
111 slot = stvp->result_to_output[VARYING_SLOT_TEX0];
H A Dst_program.c428 struct st_vertex_program *stvp = (struct st_vertex_program *)stp; local in function:st_prepare_vertex_program
431 stvp->num_inputs = 0;
432 stvp->vert_attrib_mask = 0;
433 memset(stvp->result_to_output, ~0, sizeof(stvp->result_to_output));
440 attrib_to_index[attr] = stvp->num_inputs;
441 stvp->vert_attrib_mask |= BITFIELD_BIT(attr);
442 stvp->num_inputs++;
447 attrib_to_index[VERT_ATTRIB_EDGEFLAG] = stvp->num_inputs;
453 stvp
656 struct st_vertex_program *stvp = (struct st_vertex_program *)stp; local in function:st_translate_vertex_program
991 struct st_vertex_program *stvp = (struct st_vertex_program *)stp; local in function:st_get_common_variant
[all...]
H A Dst_cb_rasterpos.c143 struct st_vertex_program *stvp = (struct st_vertex_program *)st->vp; local in function:rastpos_point
144 const ubyte *outputMapping = stvp->result_to_output;
H A Dst_program.h357 st_prepare_vertex_program(struct st_program *stvp, uint8_t *attrib_to_index);
364 struct st_program *stvp);

Completed in 21 milliseconds