VertexLoaderARM64: Merge GetAddressImm into GetVertexAddr

This way it more closely matches VertexLoaderX64, and is in general easier to understand.
This commit is contained in:
Pokechu22
2022-07-15 13:02:55 -07:00
parent 9a290c3d50
commit ad644d5e92
2 changed files with 15 additions and 42 deletions

View File

@ -26,9 +26,7 @@ private:
u32 m_dst_ofs = 0;
Arm64Gen::FixupBranch m_skip_vertex;
Arm64Gen::ARM64FloatEmitter m_float_emit;
void GetVertexAddr(CPArray array, VertexComponentFormat attribute, Arm64Gen::ARM64Reg reg);
s32 GetAddressImm(CPArray array, VertexComponentFormat attribute, Arm64Gen::ARM64Reg reg,
u32 align);
s32 GetVertexAddr(CPArray array, VertexComponentFormat attribute, Arm64Gen::ARM64Reg reg);
int ReadVertex(VertexComponentFormat attribute, ComponentFormat format, int count_in,
int count_out, bool dequantize, u8 scaling_exponent,
AttributeFormat* native_format, s32 offset = -1);