mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-17 07:49:21 +00:00
Fix Windows build, try 1.
This commit is contained in:
parent
364a5093d9
commit
24ab51f9f6
8 changed files with 60 additions and 70 deletions
|
@ -36,7 +36,6 @@ private:
|
|||
LPDIRECT3DVERTEXSHADER9 shader;
|
||||
|
||||
std::string code;
|
||||
VERTEXSHADERUIDSAFE safe_uid;
|
||||
|
||||
VSCacheEntry() : shader(NULL) {}
|
||||
void Destroy()
|
||||
|
@ -47,11 +46,11 @@ private:
|
|||
}
|
||||
};
|
||||
|
||||
typedef std::map<VERTEXSHADERUID, VSCacheEntry> VSCache;
|
||||
typedef std::map<VertexShaderUid, VSCacheEntry> VSCache;
|
||||
|
||||
static VSCache vshaders;
|
||||
static const VSCacheEntry *last_entry;
|
||||
static VERTEXSHADERUID last_uid;
|
||||
static VertexShaderUid last_uid;
|
||||
static void Clear();
|
||||
|
||||
public:
|
||||
|
@ -60,7 +59,7 @@ public:
|
|||
static bool SetShader(u32 components);
|
||||
static LPDIRECT3DVERTEXSHADER9 GetSimpleVertexShader(int level);
|
||||
static LPDIRECT3DVERTEXSHADER9 GetClearVertexShader();
|
||||
static bool InsertByteCode(const VERTEXSHADERUID &uid, const u8 *bytecode, int bytecodelen, bool activate);
|
||||
static bool InsertByteCode(const VertexShaderUid &uid, const u8 *bytecode, int bytecodelen, bool activate);
|
||||
|
||||
static std::string GetCurrentShaderCode();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue