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