• Home
  • Raw
  • Download

Lines Matching refs:vdecl

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