VideoCommon/VertexLoader_Normal: Initialize function table at compile-time

Makes VertexLoader_Normal completely stateless, eliminating the need for
an Init() function, and by extension, also gets rid of the need for the
FifoAnalyzer to have an Init() function.
This commit is contained in:
Lioncash
2019-05-29 22:54:21 -04:00
parent 911755242d
commit 8268b6f454
7 changed files with 138 additions and 147 deletions

View File

@ -68,8 +68,6 @@ static void SkipVertex(VertexLoader* loader)
VertexLoader::VertexLoader(const TVtxDesc& vtx_desc, const VAT& vtx_attr)
: VertexLoaderBase(vtx_desc, vtx_attr)
{
VertexLoader_Normal::Init();
CompileVertexTranslator();
// generate frac factors