mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
VideoCommon: De-globalize VertexShaderManager class.
This commit is contained in:
parent
0900e68986
commit
50625728e0
19 changed files with 151 additions and 101 deletions
|
@ -30,27 +30,6 @@
|
|||
#include "VideoCommon/VideoConfig.h"
|
||||
#include "VideoCommon/XFMemory.h"
|
||||
|
||||
alignas(16) static std::array<float, 16> g_fProjectionMatrix;
|
||||
|
||||
// track changes
|
||||
static std::array<bool, 2> bTexMatricesChanged;
|
||||
static bool bPosNormalMatrixChanged;
|
||||
static bool bProjectionChanged;
|
||||
static bool bViewportChanged;
|
||||
static bool bTexMtxInfoChanged;
|
||||
static bool bLightingConfigChanged;
|
||||
static bool bProjectionGraphicsModChange;
|
||||
static BitSet32 nMaterialsChanged;
|
||||
static std::array<int, 2> nTransformMatricesChanged; // min,max
|
||||
static std::array<int, 2> nNormalMatricesChanged; // min,max
|
||||
static std::array<int, 2> nPostTransformMatricesChanged; // min,max
|
||||
static std::array<int, 2> nLightsChanged; // min,max
|
||||
|
||||
static Common::Matrix44 s_viewportCorrection;
|
||||
|
||||
VertexShaderConstants VertexShaderManager::constants;
|
||||
bool VertexShaderManager::dirty;
|
||||
|
||||
void VertexShaderManager::Init()
|
||||
{
|
||||
// Initialize state tracking variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue