Searched refs:stvp (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/mesa/state_tracker/ |
D | st_shader_cache.c | 100 struct st_vertex_program *stvp = (struct st_vertex_program *)stp; in st_serialise_ir_program() local 102 blob_write_uint32(&blob, stvp->num_inputs); in st_serialise_ir_program() 103 blob_write_bytes(&blob, stvp->index_to_input, in st_serialise_ir_program() 104 sizeof(stvp->index_to_input)); in st_serialise_ir_program() 105 blob_write_bytes(&blob, stvp->input_to_index, in st_serialise_ir_program() 106 sizeof(stvp->input_to_index)); in st_serialise_ir_program() 107 blob_write_bytes(&blob, stvp->result_to_output, in st_serialise_ir_program() 108 sizeof(stvp->result_to_output)); in st_serialise_ir_program() 194 struct st_vertex_program *stvp = (struct st_vertex_program *)stp; in st_deserialise_ir_program() local 195 stvp->num_inputs = blob_read_uint32(&blob_reader); in st_deserialise_ir_program() [all …]
|
D | st_atom_shader.c | 181 struct st_program *stvp; in st_update_vp() local 187 stvp = st_program(st->ctx->VertexProgram._Current); in st_update_vp() 188 assert(stvp->Base.Target == GL_VERTEX_PROGRAM_ARB); in st_update_vp() 191 stvp->variants && in st_update_vp() 192 st_common_variant(stvp->variants)->key.passthrough_edgeflags == st->vertdata_edgeflags && in st_update_vp() 193 !st_common_variant(stvp->variants)->key.is_draw_shader) { in st_update_vp() 194 st->vp_variant = st_common_variant(stvp->variants); in st_update_vp() 212 (stvp->Base.info.outputs_written & in st_update_vp() 238 st->vp_variant = st_get_vp_variant(st, stvp, &key); in st_update_vp() 242 st_reference_prog(st, &st->vp, stvp); in st_update_vp()
|
D | st_program.c | 410 struct st_vertex_program *stvp = (struct st_vertex_program *)stp; in st_prepare_vertex_program() local 412 stvp->num_inputs = 0; in st_prepare_vertex_program() 413 memset(stvp->input_to_index, ~0, sizeof(stvp->input_to_index)); in st_prepare_vertex_program() 414 memset(stvp->result_to_output, ~0, sizeof(stvp->result_to_output)); in st_prepare_vertex_program() 421 stvp->input_to_index[attr] = stvp->num_inputs; in st_prepare_vertex_program() 422 stvp->index_to_input[stvp->num_inputs] = attr; in st_prepare_vertex_program() 423 stvp->num_inputs++; in st_prepare_vertex_program() 427 stvp->index_to_input[stvp->num_inputs] = ST_DOUBLE_ATTRIB_PLACEHOLDER; in st_prepare_vertex_program() 428 stvp->num_inputs++; in st_prepare_vertex_program() 433 stvp->input_to_index[VERT_ATTRIB_EDGEFLAG] = stvp->num_inputs; in st_prepare_vertex_program() [all …]
|
D | st_program.h | 310 struct st_program *stvp, 337 st_prepare_vertex_program(struct st_program *stvp); 344 struct st_program *stvp);
|
D | st_cb_feedback.c | 87 struct st_vertex_program *stvp = (struct st_vertex_program *)st->vp; in feedback_vertex() local 105 slot = stvp->result_to_output[VARYING_SLOT_COL0]; in feedback_vertex() 111 slot = stvp->result_to_output[VARYING_SLOT_TEX0]; in feedback_vertex()
|
D | st_cb_rasterpos.c | 143 struct st_vertex_program *stvp = (struct st_vertex_program *)st->vp; in rastpos_point() local 144 const ubyte *outputMapping = stvp->result_to_output; in rastpos_point()
|