mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-28 04:56:52 +01:00
VertexLoader: Merge dummy functions
This commit is contained in:
parent
7c486a8c24
commit
325e8e370e
@ -434,17 +434,17 @@ void VertexLoader::WriteSetVariable(int bits, void *address, OpArg value)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void VertexLoader::SetupRunVertices(int primitive, int const count)
|
int VertexLoader::RunVertices(int primitive, int count, DataReader src, DataReader dst)
|
||||||
{
|
{
|
||||||
|
dst.WritePointer(&g_vertex_manager_write_ptr);
|
||||||
|
src.WritePointer(&g_video_buffer_read_ptr);
|
||||||
|
|
||||||
m_numLoadedVertices += count;
|
m_numLoadedVertices += count;
|
||||||
|
|
||||||
// Prepare bounding box
|
// Prepare bounding box
|
||||||
if (!g_ActiveConfig.backend_info.bSupportsBBox)
|
if (!g_ActiveConfig.backend_info.bSupportsBBox)
|
||||||
BoundingBox::Prepare(m_vat, primitive, m_VtxDesc, m_native_vtx_decl);
|
BoundingBox::Prepare(m_vat, primitive, m_VtxDesc, m_native_vtx_decl);
|
||||||
}
|
|
||||||
|
|
||||||
void VertexLoader::ConvertVertices ( int count )
|
|
||||||
{
|
|
||||||
#ifdef USE_VERTEX_LOADER_JIT
|
#ifdef USE_VERTEX_LOADER_JIT
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
{
|
{
|
||||||
@ -461,13 +461,6 @@ void VertexLoader::ConvertVertices ( int count )
|
|||||||
PRIM_LOG("\n");
|
PRIM_LOG("\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
|
|
||||||
int VertexLoader::RunVertices(int primitive, int count, DataReader src, DataReader dst)
|
|
||||||
{
|
|
||||||
dst.WritePointer(&g_vertex_manager_write_ptr);
|
|
||||||
src.WritePointer(&g_video_buffer_read_ptr);
|
|
||||||
SetupRunVertices(primitive, count);
|
|
||||||
ConvertVertices(count);
|
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
@ -82,8 +82,6 @@ private:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
void CompileVertexTranslator();
|
void CompileVertexTranslator();
|
||||||
void ConvertVertices(int count);
|
|
||||||
void SetupRunVertices(int primitive, int const count);
|
|
||||||
|
|
||||||
void WriteCall(TPipelineFunction);
|
void WriteCall(TPipelineFunction);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user