diff options
| author | bunnei <bunneidev@gmail.com> | 2019-07-14 22:44:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-14 22:44:36 -0400 |
| commit | b77a1ed67a56bea82a20d6c8e581073a709a2c90 (patch) | |
| tree | b0a6a257a099f2ff18ee48c898c59671cc566de0 /src/video_core/macro_interpreter.cpp | |
| parent | 3477b92289244a26e0bfd5a95d60bce53fd1ed61 (diff) | |
| parent | 2ac7472d3f94f1adb33c0a1d7748e922c515f6a8 (diff) | |
Merge pull request #2705 from FernandoS27/tex-cache-fixes
GPU: Fixes to Texture Cache and Include Microprofiles for GL State/BufferCopy/Macro Interpreter
Diffstat (limited to 'src/video_core/macro_interpreter.cpp')
| -rw-r--r-- | src/video_core/macro_interpreter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/macro_interpreter.cpp b/src/video_core/macro_interpreter.cpp index c766ed692..9f59a2dc1 100644 --- a/src/video_core/macro_interpreter.cpp +++ b/src/video_core/macro_interpreter.cpp @@ -4,14 +4,18 @@ #include "common/assert.h" #include "common/logging/log.h" +#include "common/microprofile.h" #include "video_core/engines/maxwell_3d.h" #include "video_core/macro_interpreter.h" +MICROPROFILE_DEFINE(MacroInterp, "GPU", "Execute macro interpreter", MP_RGB(128, 128, 192)); + namespace Tegra { MacroInterpreter::MacroInterpreter(Engines::Maxwell3D& maxwell3d) : maxwell3d(maxwell3d) {} void MacroInterpreter::Execute(u32 offset, std::vector<u32> parameters) { + MICROPROFILE_SCOPE(MacroInterp); Reset(); registers[1] = parameters[0]; this->parameters = std::move(parameters); |
