mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-09 12:42:41 +00:00
[AArch64] Implement vertex loader recompiler.
Shows a noticeable reduction in time spent in the vertex loader.
This commit is contained in:
parent
15e41c67f8
commit
b4b03641b3
4 changed files with 527 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue