mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 10:39:59 +00:00
THIS BREAKS THE D3D PLUGIN FOR THE NEAR TERM. Resurrect an old patch that moves D3D over to the common shader generator framework. Needs a lot more work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2484 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ee44b2a639
commit
ecbfec2a13
49 changed files with 1087 additions and 4262 deletions
|
@ -22,14 +22,14 @@
|
|||
|
||||
#include <map>
|
||||
|
||||
#include "PixelShader.h"
|
||||
#include "VertexShader.h"
|
||||
#include "PixelShaderGen.h"
|
||||
#include "VertexShaderGen.h"
|
||||
|
||||
typedef u32 tevhash;
|
||||
|
||||
tevhash GetCurrentTEV();
|
||||
|
||||
class PShaderCache
|
||||
class PixelShaderCache
|
||||
{
|
||||
struct PSCacheEntry
|
||||
{
|
||||
|
@ -48,9 +48,9 @@ class PShaderCache
|
|||
}
|
||||
};
|
||||
|
||||
typedef std::map<tevhash, PSCacheEntry> PSCache;
|
||||
typedef std::map<PIXELSHADERUID, PSCacheEntry> PSCache;
|
||||
|
||||
static PSCache pshaders;
|
||||
static PSCache PixelShaders;
|
||||
|
||||
public:
|
||||
static void Init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue