mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-27 04:36:18 +00:00
Improve the shader UID debugging stuff and merge it to VideoCommon, effectively enabling it in D3D9 and D3D11 as well.
This commit is contained in:
parent
349a3ae91d
commit
b28348066e
16 changed files with 614 additions and 527 deletions
|
@ -32,9 +32,9 @@ struct VERTEXSHADER
|
|||
VERTEXSHADER() : glprogid(0) {}
|
||||
GLuint glprogid; // opengl program id
|
||||
|
||||
#if defined(_DEBUG) || defined(DEBUGFAST)
|
||||
//#if defined(_DEBUG) || defined(DEBUGFAST)
|
||||
std::string strprog;
|
||||
#endif
|
||||
//#endif
|
||||
};
|
||||
|
||||
class VertexShaderCache
|
||||
|
@ -42,6 +42,7 @@ class VertexShaderCache
|
|||
struct VSCacheEntry
|
||||
{
|
||||
VERTEXSHADER shader;
|
||||
VERTEXSHADERUIDSAFE safe_uid;
|
||||
int frameCount;
|
||||
VSCacheEntry() : frameCount(0) {}
|
||||
void Destroy() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue