Searched refs:stvp (Results 1 – 6 of 6) sorted by relevance
/third_party/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_uint32(&blob, stvp->vert_attrib_mask); in st_serialise_ir_program() 104 blob_write_bytes(&blob, stvp->result_to_output, in st_serialise_ir_program() 105 sizeof(stvp->result_to_output)); in st_serialise_ir_program() 196 struct st_vertex_program *stvp = (struct st_vertex_program *)stp; in st_deserialise_ir_program() local 197 stvp->num_inputs = blob_read_uint32(&blob_reader); in st_deserialise_ir_program() 198 stvp->vert_attrib_mask = blob_read_uint32(&blob_reader); in st_deserialise_ir_program() 199 blob_copy_bytes(&blob_reader, (uint8_t *) stvp->result_to_output, in st_deserialise_ir_program() 200 sizeof(stvp->result_to_output)); in st_deserialise_ir_program()
|
D | st_atom_shader.c | 205 struct st_program *stvp; in st_update_vp() local 211 stvp = st_program(st->ctx->VertexProgram._Current); in st_update_vp() 212 assert(stvp->Base.Target == GL_VERTEX_PROGRAM_ARB); in st_update_vp() 216 st->vp_variant = st_common_variant(stvp->variants); in st_update_vp() 234 (stvp->Base.info.outputs_written & in st_update_vp() 264 st->vp_variant = st_get_common_variant(st, stvp, &key); in st_update_vp() 268 st_reference_prog(st, &st->vp, stvp); in st_update_vp()
|
D | st_program.c | 428 struct st_vertex_program *stvp = (struct st_vertex_program *)stp; in st_prepare_vertex_program() local 431 stvp->num_inputs = 0; in st_prepare_vertex_program() 432 stvp->vert_attrib_mask = 0; in st_prepare_vertex_program() 433 memset(stvp->result_to_output, ~0, sizeof(stvp->result_to_output)); in st_prepare_vertex_program() 440 attrib_to_index[attr] = stvp->num_inputs; in st_prepare_vertex_program() 441 stvp->vert_attrib_mask |= BITFIELD_BIT(attr); in st_prepare_vertex_program() 442 stvp->num_inputs++; in st_prepare_vertex_program() 447 attrib_to_index[VERT_ATTRIB_EDGEFLAG] = stvp->num_inputs; in st_prepare_vertex_program() 453 stvp->result_to_output[attr] = num_outputs++; in st_prepare_vertex_program() 456 stvp->result_to_output[VARYING_SLOT_EDGE] = num_outputs; in st_prepare_vertex_program() [all …]
|
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_program.h | 357 st_prepare_vertex_program(struct st_program *stvp, uint8_t *attrib_to_index); 364 struct st_program *stvp);
|
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()
|