aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/macro/macro.cpp
diff options
context:
space:
mode:
authorcrueter <crueter@eden-emu.dev>2025-08-06 07:48:11 +0200
committercrueter <crueter@eden-emu.dev>2025-08-06 07:48:11 +0200
commitf1e74f6855e36807b62ee85be5db61316d87be23 (patch)
tree3763ed3762c95aa3fe885effbbf3521d0f0c5443 /src/video_core/macro/macro.cpp
parentdbbe5b3328ac23c0729ca1b91854d21f769f7a5d (diff)
[meta] remove MicroProfile (#185)
Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/185 Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/video_core/macro/macro.cpp')
-rw-r--r--src/video_core/macro/macro.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/video_core/macro/macro.cpp b/src/video_core/macro/macro.cpp
index e476261e3e..2ff5e21c5e 100644
--- a/src/video_core/macro/macro.cpp
+++ b/src/video_core/macro/macro.cpp
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
@@ -12,7 +15,6 @@
#include "common/assert.h"
#include "common/fs/fs.h"
#include "common/fs/path_util.h"
-#include "common/microprofile.h"
#include "common/settings.h"
#include "video_core/engines/maxwell_3d.h"
#include "video_core/macro/macro.h"
@@ -23,8 +25,6 @@
#include "video_core/macro/macro_jit_x64.h"
#endif
-MICROPROFILE_DEFINE(MacroHLE, "GPU", "Execute macro HLE", MP_RGB(128, 192, 192));
-
namespace Tegra {
static void Dump(u64 hash, std::span<const u32> code, bool decompiled = false) {
@@ -73,7 +73,6 @@ void MacroEngine::Execute(u32 method, const std::vector<u32>& parameters) {
if (compiled_macro != macro_cache.end()) {
const auto& cache_info = compiled_macro->second;
if (cache_info.has_hle_program) {
- MICROPROFILE_SCOPE(MacroHLE);
cache_info.hle_program->Execute(parameters, method);
} else {
maxwell3d.RefreshParameters();
@@ -118,7 +117,6 @@ void MacroEngine::Execute(u32 method, const std::vector<u32>& parameters) {
} else {
cache_info.has_hle_program = true;
cache_info.hle_program = std::move(hle_program);
- MICROPROFILE_SCOPE(MacroHLE);
cache_info.hle_program->Execute(parameters, method);
}