mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-12 04:22:15 +00:00
Create and use CPArray enum class
This commit is contained in:
parent
3aaeb2b9ef
commit
1914087998
22 changed files with 171 additions and 126 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <unordered_map>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/EnumMap.h"
|
||||
#include "VideoCommon/CPMemory.h"
|
||||
|
||||
class DataReader;
|
||||
|
@ -46,7 +47,7 @@ int RunVertices(int vtx_attr_group, OpcodeDecoder::Primitive primitive, int coun
|
|||
NativeVertexFormat* GetCurrentVertexFormat();
|
||||
|
||||
// Resolved pointers to array bases. Used by vertex loaders.
|
||||
extern u8* cached_arraybases[NUM_VERTEX_COMPONENT_ARRAYS];
|
||||
extern Common::EnumMap<u8*, CPArray::TexCoord7> cached_arraybases;
|
||||
void UpdateVertexArrayPointers();
|
||||
|
||||
// Position cache for zfreeze (3 vertices, 4 floats each to allow SIMD overwrite).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue