diff --git a/GPU/Common/FramebufferCommon.cpp b/GPU/Common/FramebufferCommon.cpp index 1df364ff2e..373bdc557f 100644 --- a/GPU/Common/FramebufferCommon.cpp +++ b/GPU/Common/FramebufferCommon.cpp @@ -134,7 +134,6 @@ VirtualFramebuffer *FramebufferManagerCommon::GetVFBAt(u32 addr) { return match; } - DEBUG_LOG(SCEGE, "Finding no FBO matching address %08x", addr); return 0; } diff --git a/GPU/Directx9/GPU_DX9.cpp b/GPU/Directx9/GPU_DX9.cpp index 51e364c8be..13b73936b4 100644 --- a/GPU/Directx9/GPU_DX9.cpp +++ b/GPU/Directx9/GPU_DX9.cpp @@ -19,6 +19,7 @@ #include "Common/ChunkFile.h" #include "base/logging.h" +#include "profiler/profiler.h" #include "Core/Debugger/Breakpoints.h" #include "Core/MemMapHelpers.h" #include "Core/MIPS/MIPS.h" @@ -601,6 +602,7 @@ void DIRECTX9_GPU::CopyDisplayToOutputInternal() { // Maybe should write this in ASM... void DIRECTX9_GPU::FastRunLoop(DisplayList &list) { + PROFILE_THIS_SCOPE("gpuloop"); const CommandInfo *cmdInfo = cmdInfo_; for (; downcount > 0; --downcount) { // We know that display list PCs have the upper nibble == 0 - no need to mask the pointer diff --git a/GPU/GLES/GLES_GPU.cpp b/GPU/GLES/GLES_GPU.cpp index 56bdc18d4b..aa5ab008d7 100644 --- a/GPU/GLES/GLES_GPU.cpp +++ b/GPU/GLES/GLES_GPU.cpp @@ -682,6 +682,7 @@ void GLES_GPU::CopyDisplayToOutputInternal() { // Maybe should write this in ASM... void GLES_GPU::FastRunLoop(DisplayList &list) { + PROFILE_THIS_SCOPE("gpuloop"); const CommandInfo *cmdInfo = cmdInfo_; int dc = downcount; for (; dc > 0; --dc) { diff --git a/GPU/GLES/ShaderManager.cpp b/GPU/GLES/ShaderManager.cpp index ac40126460..effebea574 100644 --- a/GPU/GLES/ShaderManager.cpp +++ b/GPU/GLES/ShaderManager.cpp @@ -29,6 +29,7 @@ #include "math/math_util.h" #include "gfx_es2/gl_state.h" #include "math/lin/matrix4x4.h" +#include "profiler/profiler.h" #include "Core/Config.h" #include "Core/Reporting.h" @@ -42,6 +43,7 @@ #include "i18n/i18n.h" Shader::Shader(const char *code, uint32_t shaderType, bool useHWTransform, const ShaderID &shaderID) : failed_(false), useHWTransform_(useHWTransform), id_(shaderID) { + PROFILE_THIS_SCOPE("shadercomp"); source_ = code; #ifdef SHADERLOG OutputDebugStringUTF8(code); @@ -82,6 +84,8 @@ Shader::~Shader() { LinkedShader::LinkedShader(Shader *vs, Shader *fs, u32 vertType, bool useHWTransform, LinkedShader *previous) : useHWTransform_(useHWTransform), program(0), dirtyUniforms(0) { + PROFILE_THIS_SCOPE("shaderlink"); + program = glCreateProgram(); vs_ = vs; glAttachShader(program, vs->shader); diff --git a/GPU/GPUCommon.cpp b/GPU/GPUCommon.cpp index 84d860b784..6822ed7471 100644 --- a/GPU/GPUCommon.cpp +++ b/GPU/GPUCommon.cpp @@ -691,7 +691,7 @@ void GPUCommon::ProcessDLQueueInternal() { for (int listIndex = GetNextListIndex(); listIndex != -1; listIndex = GetNextListIndex()) { DisplayList &l = dls[listIndex]; - DEBUG_LOG(G3D, "Okay, starting DL execution at %08x - stall = %08x", l.pc, l.stall); + DEBUG_LOG(G3D, "Starting DL execution at %08x - stall = %08x", l.pc, l.stall); if (!InterpretList(l)) { return; } else {