Lines Matching refs:FVF
94 FVF = 0; in Direct3DDevice8()
762 …CreateVertexBuffer(unsigned int length, unsigned long usage, unsigned long FVF, D3DPOOL pool, IDir… in CreateVertexBuffer() argument
766 *vertexBuffer = new Direct3DVertexBuffer8(this, length, usage, FVF, pool); in CreateVertexBuffer()
3927 FVF = 0; in SetVertexShader()
3934 FVF = handle; in SetVertexShader()
4275 int Direct3DDevice8::FVFStride(unsigned long FVF) in FVFStride() argument
4279 switch(FVF & D3DFVF_POSITION_MASK) in FVFStride()
4290 if(FVF & D3DFVF_NORMAL) stride += 12; in FVFStride()
4291 if(FVF & D3DFVF_PSIZE) stride += 4; in FVFStride()
4292 if(FVF & D3DFVF_DIFFUSE) stride += 4; in FVFStride()
4293 if(FVF & D3DFVF_SPECULAR) stride += 4; in FVFStride()
4295 switch((FVF & D3DFVF_TEXCOUNT_MASK) >> D3DFVF_TEXCOUNT_SHIFT) in FVFStride()
4297 case 8: stride += 4 + 4 * ((1 + (FVF >> 30)) % 4); in FVFStride()
4298 case 7: stride += 4 + 4 * ((1 + (FVF >> 28)) % 4); in FVFStride()
4299 case 6: stride += 4 + 4 * ((1 + (FVF >> 26)) % 4); in FVFStride()
4300 case 5: stride += 4 + 4 * ((1 + (FVF >> 24)) % 4); in FVFStride()
4301 case 4: stride += 4 + 4 * ((1 + (FVF >> 22)) % 4); in FVFStride()
4302 case 3: stride += 4 + 4 * ((1 + (FVF >> 20)) % 4); in FVFStride()
4303 case 2: stride += 4 + 4 * ((1 + (FVF >> 18)) % 4); in FVFStride()
4304 case 1: stride += 4 + 4 * ((1 + (FVF >> 16)) % 4); in FVFStride()
4353 renderer->resetInputStreams((FVF & D3DFVF_POSITION_MASK) == D3DFVF_XYZRHW); in bindStreams()
4366 stride = FVFStride(FVF); in bindStreams()
4375 switch(FVF & D3DFVF_POSITION_MASK) in bindStreams()
4422 if(FVF & D3DFVF_LASTBETA_UBYTE4) in bindStreams()
4427 if(FVF & D3DFVF_NORMAL) in bindStreams()
4433 if(FVF & D3DFVF_PSIZE) in bindStreams()
4439 if(FVF & D3DFVF_DIFFUSE) in bindStreams()
4445 if(FVF & D3DFVF_SPECULAR) in bindStreams()
4453 if((FVF & D3DFVF_TEXCOUNT_MASK) >> D3DFVF_TEXCOUNT_SHIFT >= i + 1) in bindStreams()
4455 …w::TexCoord0 + i, attribute.define(buffer, sw::STREAMTYPE_FLOAT, 1 + (1 + (FVF >> (16 + i * 2))) %… in bindStreams()
4456 (char*&)buffer += 4 + 4 * ((1 + (FVF >> (16 + i * 2))) % 4); in bindStreams()