2013-04-17 21:09:55 -06:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2008-12-07 22:30:24 -07:00
|
|
|
|
2014-02-17 03:18:15 -07:00
|
|
|
#include "Common/Common.h"
|
|
|
|
#include "VideoCommon/CPMemory.h"
|
2008-12-07 22:30:24 -07:00
|
|
|
|
|
|
|
// CP state
|
2009-03-07 18:19:33 -07:00
|
|
|
u8 *cached_arraybases[16];
|
|
|
|
|
2008-12-07 22:30:24 -07: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];
|