[AArch64] Implement vertex loader recompiler.

Shows a noticeable reduction in time spent in the vertex loader.
This commit is contained in:
Ryan Houdek 2015-02-12 18:52:07 -06:00
parent 15e41c67f8
commit b4b03641b3
4 changed files with 527 additions and 5 deletions

View file

@ -12,6 +12,8 @@
#ifdef _M_X86_64
#include "VideoCommon/VertexLoaderX64.h"
#elif defined(_M_ARM_64)
#include "VideoCommon/VertexLoaderARM64.h"
#endif
VertexLoaderBase::VertexLoaderBase(const TVtxDesc &vtx_desc, const VAT &vtx_attr)
@ -208,6 +210,11 @@ VertexLoaderBase* VertexLoaderBase::CreateVertexLoader(const TVtxDesc& vtx_desc,
if (loader->IsInitialized())
return loader;
delete loader;
#elif defined(_M_ARM_64)
loader = new VertexLoaderARM64(vtx_desc, vtx_attr);
if (loader->IsInitialized())
return loader;
delete loader;
#endif
// last try: The old VertexLoader