Refactor CP array constants slightly

This commit is contained in:
Pokechu22
2021-03-26 15:46:37 -07:00
parent c915b780cf
commit 51de3d0fd1
9 changed files with 30 additions and 24 deletions

View File

@ -9,6 +9,7 @@
#include <unordered_map>
#include "Common/CommonTypes.h"
#include "VideoCommon/CPMemory.h"
class DataReader;
class NativeVertexFormat;
@ -43,7 +44,7 @@ std::string VertexLoadersToString();
NativeVertexFormat* GetCurrentVertexFormat();
// Resolved pointers to array bases. Used by vertex loaders.
extern u8* cached_arraybases[12];
extern u8* cached_arraybases[NUM_VERTEX_COMPONENT_ARRAYS];
void UpdateVertexArrayPointers();
// Position cache for zfreeze (3 vertices, 4 floats each to allow SIMD overwrite).