diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-07-10 23:11:14 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-07-10 23:19:10 -0400 |
| commit | a99c7d01e1b043df9c09a3047bf0442f88ad94d3 (patch) | |
| tree | 7a8414d7fdb82b522cfbb58b3c00337b97e8ab29 /Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp | |
| parent | 0a7395bfba99719f71de5186a9916e66c1901f37 (diff) | |
VideoCommon/Statistics: Normalize statistic variable names
Normalizes all variables related to statistics so that they follow our
coding style.
These are relatively low traffic areas, so this modification isn't too
noisy.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp b/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp index 1eb28d1956..593a3186dc 100644 --- a/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp +++ b/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp @@ -158,7 +158,7 @@ void SHADER::Bind() const { if (CurrentProgram != glprogid) { - INCSTAT(stats.thisFrame.numShaderChanges); + INCSTAT(stats.this_frame.num_shader_changes); glUseProgram(glprogid); CurrentProgram = glprogid; } @@ -248,7 +248,7 @@ void ProgramShaderCache::UploadConstants() VertexShaderManager::dirty = false; GeometryShaderManager::dirty = false; - ADDSTAT(stats.thisFrame.bytesUniformStreamed, s_ubo_buffer_size); + ADDSTAT(stats.this_frame.bytes_uniform_streamed, s_ubo_buffer_size); } } @@ -264,7 +264,7 @@ void ProgramShaderCache::UploadConstants(const void* data, u32 data_size) for (u32 index = 1; index <= 3; index++) glBindBufferRange(GL_UNIFORM_BUFFER, index, s_buffer->m_buffer, buffer.second, data_size); - ADDSTAT(stats.thisFrame.bytesUniformStreamed, data_size); + ADDSTAT(stats.this_frame.bytes_uniform_streamed, data_size); } bool ProgramShaderCache::CompileComputeShader(SHADER& shader, const std::string& code) |
