VertexLoaderX64: Fix direct normal+tangent+binormal with index3 set

Fixes https://bugs.dolphin-emu.org/issues/12952
This commit is contained in:
Pokechu22
2022-07-04 11:21:38 -07:00
parent 5cc2f7729e
commit 200676f4e3
2 changed files with 40 additions and 17 deletions

View File

@ -25,9 +25,9 @@ private:
u32 m_dst_ofs = 0;
Gen::FixupBranch m_skip_vertex;
Gen::OpArg GetVertexAddr(CPArray array, VertexComponentFormat attribute);
int ReadVertex(Gen::OpArg data, VertexComponentFormat attribute, ComponentFormat format,
int count_in, int count_out, bool dequantize, u8 scaling_exponent,
AttributeFormat* native_format);
void ReadVertex(Gen::OpArg data, VertexComponentFormat attribute, ComponentFormat format,
int count_in, int count_out, bool dequantize, u8 scaling_exponent,
AttributeFormat* native_format);
void ReadColor(Gen::OpArg data, VertexComponentFormat attribute, ColorFormat format);
void GenerateVertexLoader();
};