2013-04-18 03:09:55 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 05:30:24 +00:00
|
|
|
|
2014-02-17 10:18:15 +00:00
|
|
|
#include "Common/Common.h"
|
|
|
|
#include "VideoCommon/CPMemory.h"
|
2008-12-08 05:30:24 +00:00
|
|
|
|
|
|
|
// CP state
|
2009-03-08 01:19:33 +00:00
|
|
|
u8 *cached_arraybases[16];
|
|
|
|
|
2008-12-08 05:30:24 +00:00
|
|
|
// STATE_TO_SAVE
|
|
|
|
u32 arraybases[16];
|
|
|
|
u32 arraystrides[16];
|
|
|
|
TMatrixIndexA MatrixIndexA;
|
|
|
|
TMatrixIndexB MatrixIndexB;
|
|
|
|
TVtxDesc g_VtxDesc;
|
|
|
|
// Most games only use the first VtxAttr and simply reconfigure it all the time as needed.
|
|
|
|
VAT g_VtxAttr[8];
|