mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-06 11:12:40 +00:00
Move moving things around and preparing for the next step (cached vertexloaders).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@957 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
bc79d22f5e
commit
2f6d41e413
13 changed files with 243 additions and 207 deletions
|
@ -139,8 +139,7 @@ bool FifoCommandRunnable()
|
|||
{
|
||||
iCommandSize = 1 + 2;
|
||||
u16 numVertices = DataPeek16(1);
|
||||
VertexLoader& vtxLoader = g_VertexLoaders[Cmd & GX_VAT_MASK];
|
||||
iCommandSize += numVertices * vtxLoader.ComputeVertexSize();
|
||||
iCommandSize += numVertices * VertexLoaderManager::GetVertexSize(Cmd & GX_VAT_MASK);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue