Home | History | Annotate | Download | only in nine

Lines Matching defs:vdecl

3041     user_assert(This->state.vdecl, D3DERR_INVALIDCALL);
3215 struct NineVertexDeclaration9 *vdecl = NineVertexDeclaration9(pVertexDecl);
3225 bool programmable_vs = This->state.vs && !(This->state.vdecl && This->state.vdecl->position_t);
3246 user_assert(vdecl || (vs->byte_code.version < 0x30 && dst->desc.FVF),
3248 if (!vdecl) {
3250 vdecl = util_hash_table_get(This->ff.ht_fvf, &FVF);
3251 if (!vdecl) {
3252 hr = NineVertexDeclaration9_new_from_fvf(This, FVF, &vdecl);
3255 vdecl->fvf = FVF;
3256 _mesa_hash_table_insert(This->ff.ht_fvf, &vdecl->fvf, vdecl);
3257 NineUnknown_ConvertRefToBind(NineUnknown(vdecl));
3266 user_assert(vdecl->position_t || programmable_vs,
3276 nine_state_prepare_draw_sw(This, vdecl, SrcStartIndex, VertexCount, &so);
3331 hr = NineVertexDeclaration9_ConvertStreamOutput(vdecl,
3348 struct NineVertexDeclaration9 *vdecl;
3355 HRESULT hr = NineVertexDeclaration9_new(This, pVertexElements, &vdecl);
3357 *ppDecl = (IDirect3DVertexDeclaration9 *)vdecl;
3367 struct NineVertexDeclaration9 *vdecl = NineVertexDeclaration9(pDecl);
3372 nine_bind(&state->vdecl, vdecl);
3377 if (state->vdecl == vdecl)
3380 nine_bind(&state->vdecl, vdecl);
3382 nine_context_set_vertex_declaration(This, vdecl);
3393 *ppDecl = (IDirect3DVertexDeclaration9 *)This->state.vdecl;
3403 struct NineVertexDeclaration9 *vdecl;
3410 vdecl = util_hash_table_get(This->ff.ht_fvf, &FVF);
3411 if (!vdecl) {
3412 hr = NineVertexDeclaration9_new_from_fvf(This, FVF, &vdecl);
3415 vdecl->fvf = FVF;
3416 _mesa_hash_table_insert(This->ff.ht_fvf, &vdecl->fvf, vdecl);
3417 NineUnknown_ConvertRefToBind(NineUnknown(vdecl));
3420 This, (IDirect3DVertexDeclaration9 *)vdecl);
3428 *pFVF = This->state.vdecl ? This->state.vdecl->fvf : 0;