Lines Matching defs:vdecl
838 const struct NineVertexDeclaration9 *vdecl = device->context.vdecl;
852 if (vdecl) {
854 DBG("looking up input %u (usage %u) from vdecl(%p)\n",
855 n, vs->input_map[n].ndecl, vdecl);
857 for (i = 0; i < vdecl->nelems; i++) {
858 if (vdecl->usage_map[i] == vs->input_map[n].ndecl) {
860 used_streams |= BITFIELD_BIT(vdecl->elems[i].vertex_buffer_index);
886 ve.velems[n] = vdecl->elems[index];
1641 ARG_BIND_REF(struct NineVertexDeclaration9, vdecl))
1646 nine_bind(&context->vdecl, vdecl);
1648 context->programmable_vs = context->vs && !(context->vdecl && context->vdecl->position_t);
1665 context->programmable_vs = context->vs && !(context->vdecl && context->vdecl->position_t);
2086 if ((src->changed.group & NINE_STATE_VDECL) && src->vdecl)
2087 nine_context_set_vertex_declaration(device, src->vdecl);
2940 nine_bind(&state->vdecl, NULL);
2989 nine_bind(&context->vdecl, NULL);
3046 const struct NineVertexDeclaration9 *vdecl = device->state.vdecl;
3055 bool programmable_vs = state->vs && !(state->vdecl && state->vdecl->position_t);
3061 if (vdecl) {
3063 DBG("looking up input %u (usage %u) from vdecl(%p)\n",
3064 n, vs->input_map[n].ndecl, vdecl);
3066 for (i = 0; i < vdecl->nelems; i++) {
3067 if (vdecl->usage_map[i] == vs->input_map[n].ndecl) {
3069 used_streams[vdecl->elems[i].vertex_buffer_index] = 1;
3096 ve.velems[n] = vdecl->elems[index];
3287 bool programmable_vs = state->vs && !(state->vdecl && state->vdecl->position_t);