Lines Matching defs:vdecl

3043     user_assert(This->state.vdecl, D3DERR_INVALIDCALL);
3217 struct NineVertexDeclaration9 *vdecl = NineVertexDeclaration9(pVertexDecl);
3227 bool programmable_vs = This->state.vs && !(This->state.vdecl && This->state.vdecl->position_t);
3248 user_assert(vdecl || (vs->byte_code.version < 0x30 && dst->desc.FVF),
3250 if (!vdecl) {
3252 vdecl = util_hash_table_get(This->ff.ht_fvf, &FVF);
3253 if (!vdecl) {
3254 hr = NineVertexDeclaration9_new_from_fvf(This, FVF, &vdecl);
3257 vdecl->fvf = FVF;
3258 _mesa_hash_table_insert(This->ff.ht_fvf, &vdecl->fvf, vdecl);
3259 NineUnknown_ConvertRefToBind(NineUnknown(vdecl));
3268 user_assert(vdecl->position_t || programmable_vs,
3278 nine_state_prepare_draw_sw(This, vdecl, SrcStartIndex, VertexCount, &so);
3333 hr = NineVertexDeclaration9_ConvertStreamOutput(vdecl,
3350 struct NineVertexDeclaration9 *vdecl;
3357 HRESULT hr = NineVertexDeclaration9_new(This, pVertexElements, &vdecl);
3359 *ppDecl = (IDirect3DVertexDeclaration9 *)vdecl;
3369 struct NineVertexDeclaration9 *vdecl = NineVertexDeclaration9(pDecl);
3374 nine_bind(&state->vdecl, vdecl);
3379 if (state->vdecl == vdecl)
3382 nine_bind(&state->vdecl, vdecl);
3384 nine_context_set_vertex_declaration(This, vdecl);
3395 *ppDecl = (IDirect3DVertexDeclaration9 *)This->state.vdecl;
3405 struct NineVertexDeclaration9 *vdecl;
3412 vdecl = util_hash_table_get(This->ff.ht_fvf, &FVF);
3413 if (!vdecl) {
3414 hr = NineVertexDeclaration9_new_from_fvf(This, FVF, &vdecl);
3417 vdecl->fvf = FVF;
3418 _mesa_hash_table_insert(This->ff.ht_fvf, &vdecl->fvf, vdecl);
3419 NineUnknown_ConvertRefToBind(NineUnknown(vdecl));
3422 This, (IDirect3DVertexDeclaration9 *)vdecl);
3430 *pFVF = This->state.vdecl ? This->state.vdecl->fvf : 0;