mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-11 22:49:55 +00:00
clean up some includes
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "Emu/Cell/lv2/sys_event.h"
|
||||
#include "Emu/Cell/lv2/sys_process.h"
|
||||
#include "Emu/RSX/RSXThread.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Thread.h"
|
||||
#include "Utilities/JIT.h"
|
||||
#include <cfenv>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "Utilities/Thread.h"
|
||||
#include "Utilities/mutex.h"
|
||||
#include "Emu/system_config_types.h"
|
||||
|
||||
#include "alc.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
#include "Emu/IdManager.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/system_config_types.h"
|
||||
#include "Emu/Cell/ErrorCodes.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
#include "Emu/Cell/timers.hpp"
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Crypto/unedat.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/VFS.h"
|
||||
#include "Emu/vfs_config.h"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "sys_rsx.h"
|
||||
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
#include "Emu/Cell/ErrorCodes.h"
|
||||
#include "Emu/Cell/timers.hpp"
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
|
||||
#include "LogitechG27.h"
|
||||
#include "Emu/Cell/lv2/sys_usbd.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Input/pad_thread.h"
|
||||
#include "Input/sdl_instance.h"
|
||||
|
||||
LOG_CHANNEL(logitech_g27_log, "logitech_g27");
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/IdManager.h"
|
||||
#include "Emu/Io/usb_microphone.h"
|
||||
#include "Emu/Cell/lv2/sys_usbd.h"
|
||||
#include "Emu/Cell/Modules/cellMic.h"
|
||||
#include "Input/pad_thread.h"
|
||||
|
||||
LOG_CHANNEL(usb_mic_log);
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <Crypto/utils.h>
|
||||
#include <Utilities/StrUtil.h>
|
||||
#include <Utilities/StrFmt.h>
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include "ip_address.h"
|
||||
#include "Utilities/StrFmt.h"
|
||||
#include "Emu/IdManager.h"
|
||||
#include "util/endian.hpp"
|
||||
#include "util/types.hpp"
|
||||
#include "Emu/NP/rpcn_config.h"
|
||||
#include "Emu/Cell/lv2/sys_net/sys_net_helpers.h"
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "TextureUtils.h"
|
||||
#include "../Utils/rsx_utils.h"
|
||||
#include "Emu/Memory/vm.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
#define ENABLE_SURFACE_CACHE_DEBUG 0
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "Emu/RSX/RSXThread.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Utilities/address_range.h"
|
||||
#include "util/fnv_hash.hpp"
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/RSX/Utils/algorithm.hpp"
|
||||
#include "Emu/system_config.h"
|
||||
#include "RSXContext.h"
|
||||
|
||||
namespace rsx
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include "../Common/simple_array.hpp"
|
||||
#include "../Utils/rsx_utils.h"
|
||||
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
namespace rsx
|
||||
{
|
||||
std::string framebuffer_dimensions_t::to_string(bool skip_aa_suffix) const
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <util/types.hpp>
|
||||
#include "../RSXThread.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
namespace rsx
|
||||
{
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "Emu/system_config.h"
|
||||
#include "GLCommonDecompiler.h"
|
||||
#include "../Program/GLSLCommon.h"
|
||||
#include "../RSXThread.h"
|
||||
|
||||
std::string GLFragmentDecompilerThread::getFloatTypeName(usz elementCount)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "Emu/emu_callbacks.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "GSRender.h"
|
||||
|
||||
GSRender::GSRender(utils::serial* ar) noexcept : rsx::thread(ar)
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "GSFrameBase.h"
|
||||
#include "Emu/RSX/RSXThread.h"
|
||||
#include "Emu/system_config_types.h"
|
||||
|
||||
enum wm_event
|
||||
{
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "Emu/RSX/Common/simple_array.hpp"
|
||||
#include "Emu/RSX/gcm_enums.h"
|
||||
#include "util/logs.hpp"
|
||||
|
||||
namespace rsx
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "nv47_sync.hpp"
|
||||
|
||||
#include "Emu/RSX/RSXThread.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
#include "context_accessors.define.h"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "Emu/RSX/RSXThread.h"
|
||||
#include "Emu/RSX/Common/BufferUtils.h"
|
||||
#include "Emu/RSX/Host/MM.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
#define RSX(ctx) ctx->rsxthr
|
||||
#define REGS(ctx) (&rsx::method_registers)
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include "Emu/RSX/Overlays/Trophies/overlay_trophy_list_dialog.h"
|
||||
#include "Emu/RSX/Overlays/overlay_manager.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/Cell/Modules/sceNpTrophy.h"
|
||||
|
||||
extern atomic_t<bool> g_user_asked_for_recording;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "Emu/RSX/RSXThread.h"
|
||||
#include "Emu/Cell/SPUThread.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "Emu/RSX/RSXThread.h"
|
||||
#include "Emu/emu_callbacks.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
LOG_CHANNEL(overlays);
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "FragmentProgramDecompiler.h"
|
||||
#include "ProgramStateCache.h"
|
||||
|
||||
#include "Assembler/Passes/FP/RegisterAnnotationPass.h"
|
||||
#include "Assembler/Passes/FP/RegisterDependencyPass.h"
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
#include "ShaderParam.h"
|
||||
#include "RSXFragmentProgram.h"
|
||||
|
||||
#include "Assembler/CFG.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include "ProgramStateCache.h"
|
||||
#include "FragmentProgramDecompiler.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/RSX/Core/RSXDriverState.h"
|
||||
#include "util/sysinfo.hpp"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include "RSXTexture.h"
|
||||
|
||||
#include "Common/TextureUtils.h"
|
||||
#include "Program/GLSLCommon.h"
|
||||
#include "Utils/algorithm.hpp"
|
||||
#include "Utils/rsx_utils.h"
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "rsx_utils.h"
|
||||
#include "Emu/RSX/rsx_methods.h"
|
||||
#include "Emu/Cell/Modules/cellVideoOut.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push, 0)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../system_config.h"
|
||||
#include "Utilities/address_range.h"
|
||||
#include "Utilities/geometry.h"
|
||||
#include "../gcm_enums.h"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "VKAsyncScheduler.h"
|
||||
#include "VKHelpers.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "vkutils/commands.h"
|
||||
#include "vkutils/sync.h"
|
||||
#include "Utilities/mutex.h"
|
||||
#include "Emu/system_config_types.h"
|
||||
|
||||
#define VK_MAX_ASYNC_COMPUTE_QUEUES 256
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "Utilities/StrUtil.h"
|
||||
#include "util/asm.hpp"
|
||||
#include "util/logs.hpp"
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "VKRenderPass.h"
|
||||
#include "vkutils/device.h"
|
||||
#include "Utilities/Thread.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
#include "util/sysinfo.hpp"
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "VKHelpers.h"
|
||||
#include "vkutils/device.h"
|
||||
#include "../Program/GLSLCommon.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
std::string VKVertexDecompilerThread::getFloatTypeName(usz elementCount)
|
||||
{
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
#include "../fsr_pass.h"
|
||||
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "buffer_object.h"
|
||||
#include "device.h"
|
||||
#include "shared.h"
|
||||
#include "util/logs.hpp"
|
||||
|
||||
namespace vk
|
||||
{
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "device.h"
|
||||
#include "shared.h"
|
||||
#include "sync.h"
|
||||
#include "util/logs.hpp"
|
||||
|
||||
namespace vk
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "../VKHelpers.h"
|
||||
#include "../VKResourceManager.h"
|
||||
#include "Emu/IdManager.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "Emu/IdManager.h"
|
||||
#include "descriptors.h"
|
||||
#include "garbage_collector.h"
|
||||
#include "util/logs.hpp"
|
||||
|
||||
namespace vk
|
||||
{
|
||||
|
||||
@@ -933,6 +933,11 @@ namespace vk
|
||||
memory_map.device_local.rebalance();
|
||||
}
|
||||
|
||||
bool render_device::get_debug_utils_support() const
|
||||
{
|
||||
return g_cfg.video.renderdoc_compatiblity && pgpu->optional_features_support.debug_utils;
|
||||
}
|
||||
|
||||
void render_device::dump_debug_info(
|
||||
const std::vector<const char*>& requested_extensions,
|
||||
const VkPhysicalDeviceFeatures& requested_features) const
|
||||
|
||||
@@ -186,7 +186,7 @@ namespace vk
|
||||
bool get_unrestricted_depth_range_support() const { return pgpu->optional_features_support.unrestricted_depth_range; }
|
||||
bool get_external_memory_host_support() const { return pgpu->optional_features_support.external_memory_host; }
|
||||
bool get_surface_capabilities_2_support() const { return pgpu->optional_features_support.surface_capabilities_2; }
|
||||
bool get_debug_utils_support() const { return g_cfg.video.renderdoc_compatiblity && pgpu->optional_features_support.debug_utils; }
|
||||
bool get_debug_utils_support() const;
|
||||
bool get_framebuffer_loops_support() const { return pgpu->optional_features_support.framebuffer_loops; }
|
||||
bool get_barycoords_support() const { return pgpu->optional_features_support.barycentric_coords; }
|
||||
bool get_synchronization2_support() const { return pgpu->optional_features_support.synchronization_2; }
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#include "stdafx.h"
|
||||
#include "instance.h"
|
||||
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
namespace vk
|
||||
{
|
||||
// Supported extensions
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "memory.h"
|
||||
|
||||
#include "Emu/RSX/Utils/algorithm.hpp"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
namespace vk
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "../VKResourceManager.h"
|
||||
|
||||
#include <util/asm.hpp>
|
||||
#include "util/logs.hpp"
|
||||
|
||||
namespace vk
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "swapchain.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
namespace vk
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "swapchain_core.h"
|
||||
#include "util/logs.hpp"
|
||||
|
||||
#ifdef HAVE_X11
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "swapchain_core.h"
|
||||
#include "util/logs.hpp"
|
||||
|
||||
namespace vk
|
||||
{
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "util/sysinfo.hpp"
|
||||
#include "util/asm.hpp"
|
||||
#include "util/logs.hpp"
|
||||
|
||||
namespace vk
|
||||
{
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/Cell/lv2/sys_rsx.h"
|
||||
|
||||
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/RSX/NV47/HW/nv47.h"
|
||||
#include "Emu/RSX/NV47/HW/nv47_sync.hpp"
|
||||
#include "Emu/RSX/NV47/HW/context_accessors.define.h" // TODO: Context objects belong in FW not HW
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "system_config.h"
|
||||
|
||||
#include "util/sysinfo.hpp"
|
||||
|
||||
#include <random>
|
||||
|
||||
cfg_root g_cfg{};
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "Emu/RSX/Overlays/overlay_compile_notification.h"
|
||||
#include "Emu/emu_callbacks.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
#include "util/asm.hpp"
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include "camera_video_sink.h"
|
||||
|
||||
#include "Emu/Cell/Modules/cellCamera.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
LOG_CHANNEL(camera_log, "Camera");
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "headless_application.h"
|
||||
|
||||
#include "Emu/emu_callbacks.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/RSX/Null/NullGSRender.h"
|
||||
#include "Emu/Cell/Modules/cellMsgDialog.h"
|
||||
#include "Emu/Cell/Modules/cellOskDialog.h"
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "hex_validator.h"
|
||||
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/IdManager.h"
|
||||
#include "Emu/RSX/RSXThread.h"
|
||||
#include "Emu/Cell/lv2/sys_sync.h"
|
||||
|
||||
@@ -86,7 +86,6 @@
|
||||
|
||||
#include "Utilities/Thread.h"
|
||||
#include "util/sysinfo.hpp"
|
||||
#include "util/serialization_ext.hpp"
|
||||
|
||||
#include "Input/gui_pad_thread.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user