Browse Source

this should fix windows build (?)

MrPurple666 2 weeks ago
parent
commit
0f5c595908
  1. 9
      src/video_core/gpu_logging/CMakeLists.txt
  2. 4
      src/video_core/gpu_logging/freedreno_debug.cpp
  3. 4
      src/video_core/gpu_logging/freedreno_debug.h

9
src/video_core/gpu_logging/CMakeLists.txt

@ -6,12 +6,17 @@ add_library(gpu_logging STATIC
gpu_logging.h
gpu_state_capture.cpp
gpu_state_capture.h
freedreno_debug.cpp
freedreno_debug.h
qualcomm_debug.cpp
qualcomm_debug.h
)
if(ANDROID)
target_sources(gpu_logging PRIVATE
freedreno_debug.cpp
freedreno_debug.h
)
endif()
target_link_libraries(gpu_logging PUBLIC common)
if(ANDROID)

4
src/video_core/gpu_logging/freedreno_debug.cpp

@ -1,6 +1,8 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
#ifdef ANDROID
#include "video_core/gpu_logging/freedreno_debug.h"
#include "common/logging/log.h"
@ -46,3 +48,5 @@ std::string FreedrenoDebugger::GetBreadcrumbs() {
}
} // namespace GPU::Logging::Freedreno
#endif // ANDROID

4
src/video_core/gpu_logging/freedreno_debug.h

@ -3,6 +3,8 @@
#pragma once
#ifdef ANDROID
#include <string>
namespace GPU::Logging::Freedreno {
@ -26,3 +28,5 @@ private:
};
} // namespace GPU::Logging::Freedreno
#endif // ANDROID
Loading…
Cancel
Save