1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-05 01:24:14 +01:00

[d3d9] Remove declaration fvf mapping log spam

This commit is contained in:
Robin Kertels 2022-10-08 17:30:53 +02:00 committed by Joshie
parent 2b964f0c67
commit 7090105573

View File

@ -237,7 +237,6 @@ namespace dxvk {
if (likely(fvfRet != 0))
return fvfRet;
else {
Logger::warn("D3D9VertexDecl::MapD3DDeclToFvf: Unsupported set of D3DDECLUSAGE_BLENDWEIGHT / D3DDECLTYPE_* / UsageIndex");
return 0;
}
}
@ -256,7 +255,6 @@ namespace dxvk {
case 0: return D3DFVF_DIFFUSE;
case 1: return D3DFVF_SPECULAR;
default:
Logger::warn("D3D9VertexDecl::MapD3DDeclToFvf: Unsupported set of D3DDECLUSAGE_COLOR / D3DDECLTYPE_D3DCOLOR / UsageIndex");
return 0;
}
}
@ -266,12 +264,10 @@ namespace dxvk {
if (likely(MapD3DDeclUsageTexCoordToFvfTexCoordSize(element, fvf, retFvf, texCountPostUpdate)))
return retFvf;
else {
Logger::warn("D3D9VertexDecl::MapD3DDeclToFvf: Unsupported set of D3DDECLUSAGE_TEXCOORD / D3DDECLTYPE_* / UsageIndex");
return 0;
}
}
Logger::warn("D3D9VertexDecl::MapD3DDeclToFvf: Unsupported set of D3DDECLUSAGE_* / D3DDECLTYPE_* / UsageIndex");
return 0;
}