mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Move vertex size and component calculation to VertexLoaderBase
This commit is contained in:
parent
fa7077763f
commit
0a906f553f
7 changed files with 96 additions and 109 deletions
|
@ -62,7 +62,7 @@ protected:
|
|||
void CreateAndCheckSizes(size_t input_size, size_t output_size)
|
||||
{
|
||||
m_loader = VertexLoaderBase::CreateVertexLoader(m_vtx_desc, m_vtx_attr);
|
||||
ASSERT_EQ((int)input_size, m_loader->m_VertexSize);
|
||||
ASSERT_EQ(input_size, m_loader->m_vertex_size);
|
||||
ASSERT_EQ((int)output_size, m_loader->m_native_vtx_decl.stride);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue