d3d12; Factorise IALayout generation code

This commit is contained in:
vlj 2015-05-11 23:03:42 +02:00 committed by Vincent Lejeune
parent 14e9323154
commit 8ec9f84c1b
5 changed files with 231 additions and 203 deletions

View file

@ -118,7 +118,7 @@ void RSXVertexData::Load(u32 start, u32 count, u32 baseOffset, u32 baseIndex = 0
}
}
u32 RSXVertexData::GetTypeSize()
u32 RSXVertexData::GetTypeSize() const
{
switch (type)
{