mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 15:35:27 +00:00
Statistics: Reformat stats string
This commit is contained in:
parent
f1ddd3c66a
commit
7db5a4b22d
@ -123,6 +123,7 @@ void SHADER::Bind()
|
||||
{
|
||||
if (CurrentProgram != glprogid)
|
||||
{
|
||||
INCSTAT(stats.thisFrame.numShaderChanges);
|
||||
glUseProgram(glprogid);
|
||||
CurrentProgram = glprogid;
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ std::string Statistics::ToString()
|
||||
str += StringFromFormat("pshaders alive: %i\n", stats.numPixelShadersAlive);
|
||||
str += StringFromFormat("vshaders created: %i\n", stats.numVertexShadersCreated);
|
||||
str += StringFromFormat("vshaders alive: %i\n", stats.numVertexShadersAlive);
|
||||
str += StringFromFormat("shaders changes: %i\n", stats.thisFrame.numShaderChanges);
|
||||
str += StringFromFormat("dlists called: %i\n", stats.thisFrame.numDListsCalled);
|
||||
str += StringFromFormat("Primitive joins: %i\n", stats.thisFrame.numPrimitiveJoins);
|
||||
str += StringFromFormat("Draw calls: %i\n", stats.thisFrame.numDrawCalls);
|
||||
|
Loading…
x
Reference in New Issue
Block a user