Give the vertex/pixel shader caches and managers a proper Init/Shutdown
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2610 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0feedec14c
commit
044637218e
|
@ -31,6 +31,10 @@
|
||||||
#include "BPStructs.h"
|
#include "BPStructs.h"
|
||||||
#include "VertexManager.h"
|
#include "VertexManager.h"
|
||||||
#include "VertexLoaderManager.h"
|
#include "VertexLoaderManager.h"
|
||||||
|
#include "VertexShaderManager.h"
|
||||||
|
#include "PixelShaderManager.h"
|
||||||
|
#include "VertexShaderCache.h"
|
||||||
|
#include "PixelShaderCache.h"
|
||||||
#include "DlgSettings.h"
|
#include "DlgSettings.h"
|
||||||
#include "D3DPostprocess.h"
|
#include "D3DPostprocess.h"
|
||||||
#include "D3DTexture.h"
|
#include "D3DTexture.h"
|
||||||
|
@ -221,6 +225,10 @@ void Video_Prepare(void)
|
||||||
Fifo_Init();
|
Fifo_Init();
|
||||||
VertexLoaderManager::Init();
|
VertexLoaderManager::Init();
|
||||||
OpcodeDecoder_Init();
|
OpcodeDecoder_Init();
|
||||||
|
VertexShaderCache::Init();
|
||||||
|
VertexShaderManager::Init();
|
||||||
|
PixelShaderCache::Init();
|
||||||
|
PixelShaderManager::Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Shutdown(void)
|
void Shutdown(void)
|
||||||
|
@ -228,9 +236,13 @@ void Shutdown(void)
|
||||||
Fifo_Shutdown();
|
Fifo_Shutdown();
|
||||||
OpcodeDecoder_Shutdown();
|
OpcodeDecoder_Shutdown();
|
||||||
VertexManager::Shutdown();
|
VertexManager::Shutdown();
|
||||||
|
VertexShaderManager::Shutdown();
|
||||||
|
VertexLoaderManager::Shutdown();
|
||||||
|
VertexShaderCache::Shutdown();
|
||||||
|
PixelShaderCache::Shutdown();
|
||||||
|
PixelShaderManager::Shutdown();
|
||||||
TextureCache::Shutdown();
|
TextureCache::Shutdown();
|
||||||
Renderer::Shutdown();
|
Renderer::Shutdown();
|
||||||
VertexLoaderManager::Shutdown();
|
|
||||||
DeInit();
|
DeInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue