summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Null/NullBackend.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2025-03-10 15:06:19 -0400
committerGitHub <noreply@github.com>2025-03-10 15:06:19 -0400
commit5ed8b7bc9d8f70d5dae4f009939ac9715adf83b4 (patch)
tree946de379d9606f4ba12e76f8bec7483fc282833c /Source/Core/VideoBackends/Null/NullBackend.cpp
parentd45e6c67293f10be4159d4e222ad3e903d7a835b (diff)
parentc18c039089bdc27cbccf92a9053ed80bb161a9b9 (diff)
Merge pull request #13403 from jordan-woyak/backend_info
VideoCommon: Move backend_info out of VideoConfig struct.
Diffstat (limited to 'Source/Core/VideoBackends/Null/NullBackend.cpp')
-rw-r--r--Source/Core/VideoBackends/Null/NullBackend.cpp80
1 files changed, 38 insertions, 42 deletions
diff --git a/Source/Core/VideoBackends/Null/NullBackend.cpp b/Source/Core/VideoBackends/Null/NullBackend.cpp
index 28afcce4dc..016613bd48 100644
--- a/Source/Core/VideoBackends/Null/NullBackend.cpp
+++ b/Source/Core/VideoBackends/Null/NullBackend.cpp
@@ -9,7 +9,6 @@
#include "VideoBackends/Null/VideoBackend.h"
#include "Common/Common.h"
-#include "Common/MsgHandler.h"
#include "VideoBackends/Null/NullBoundingBox.h"
#include "VideoBackends/Null/NullGfx.h"
@@ -17,9 +16,6 @@
#include "VideoBackends/Null/PerfQuery.h"
#include "VideoBackends/Null/TextureCache.h"
-#include "VideoCommon/FramebufferManager.h"
-#include "VideoCommon/Present.h"
-#include "VideoCommon/VideoBackendBase.h"
#include "VideoCommon/VideoCommon.h"
#include "VideoCommon/VideoConfig.h"
@@ -27,46 +23,46 @@ namespace Null
{
void VideoBackend::InitBackendInfo(const WindowSystemInfo& wsi)
{
- g_Config.backend_info.api_type = APIType::Nothing;
- g_Config.backend_info.MaxTextureSize = 16384;
- g_Config.backend_info.bSupportsExclusiveFullscreen = true;
- g_Config.backend_info.bSupportsDualSourceBlend = true;
- g_Config.backend_info.bSupportsPrimitiveRestart = true;
- g_Config.backend_info.bSupportsGeometryShaders = true;
- g_Config.backend_info.bSupportsComputeShaders = false;
- g_Config.backend_info.bSupports3DVision = false;
- g_Config.backend_info.bSupportsEarlyZ = true;
- g_Config.backend_info.bSupportsBindingLayout = true;
- g_Config.backend_info.bSupportsBBox = true;
- g_Config.backend_info.bSupportsGSInstancing = true;
- g_Config.backend_info.bSupportsPostProcessing = false;
- g_Config.backend_info.bSupportsPaletteConversion = true;
- g_Config.backend_info.bSupportsClipControl = true;
- g_Config.backend_info.bSupportsSSAA = true;
- g_Config.backend_info.bSupportsDepthClamp = true;
- g_Config.backend_info.bSupportsReversedDepthRange = true;
- g_Config.backend_info.bSupportsMultithreading = false;
- g_Config.backend_info.bSupportsGPUTextureDecoding = false;
- g_Config.backend_info.bSupportsST3CTextures = false;
- g_Config.backend_info.bSupportsBPTCTextures = false;
- g_Config.backend_info.bSupportsFramebufferFetch = false;
- g_Config.backend_info.bSupportsBackgroundCompiling = false;
- g_Config.backend_info.bSupportsLogicOp = false;
- g_Config.backend_info.bSupportsLargePoints = false;
- g_Config.backend_info.bSupportsDepthReadback = false;
- g_Config.backend_info.bSupportsPartialDepthCopies = false;
- g_Config.backend_info.bSupportsShaderBinaries = false;
- g_Config.backend_info.bSupportsPipelineCacheData = false;
- g_Config.backend_info.bSupportsCoarseDerivatives = false;
- g_Config.backend_info.bSupportsTextureQueryLevels = false;
- g_Config.backend_info.bSupportsLodBiasInSampler = false;
- g_Config.backend_info.bSupportsSettingObjectNames = false;
- g_Config.backend_info.bSupportsPartialMultisampleResolve = true;
- g_Config.backend_info.bSupportsDynamicVertexLoader = false;
+ g_backend_info.api_type = APIType::Nothing;
+ g_backend_info.MaxTextureSize = 16384;
+ g_backend_info.bSupportsExclusiveFullscreen = true;
+ g_backend_info.bSupportsDualSourceBlend = true;
+ g_backend_info.bSupportsPrimitiveRestart = true;
+ g_backend_info.bSupportsGeometryShaders = true;
+ g_backend_info.bSupportsComputeShaders = false;
+ g_backend_info.bSupports3DVision = false;
+ g_backend_info.bSupportsEarlyZ = true;
+ g_backend_info.bSupportsBindingLayout = true;
+ g_backend_info.bSupportsBBox = true;
+ g_backend_info.bSupportsGSInstancing = true;
+ g_backend_info.bSupportsPostProcessing = false;
+ g_backend_info.bSupportsPaletteConversion = true;
+ g_backend_info.bSupportsClipControl = true;
+ g_backend_info.bSupportsSSAA = true;
+ g_backend_info.bSupportsDepthClamp = true;
+ g_backend_info.bSupportsReversedDepthRange = true;
+ g_backend_info.bSupportsMultithreading = false;
+ g_backend_info.bSupportsGPUTextureDecoding = false;
+ g_backend_info.bSupportsST3CTextures = false;
+ g_backend_info.bSupportsBPTCTextures = false;
+ g_backend_info.bSupportsFramebufferFetch = false;
+ g_backend_info.bSupportsBackgroundCompiling = false;
+ g_backend_info.bSupportsLogicOp = false;
+ g_backend_info.bSupportsLargePoints = false;
+ g_backend_info.bSupportsDepthReadback = false;
+ g_backend_info.bSupportsPartialDepthCopies = false;
+ g_backend_info.bSupportsShaderBinaries = false;
+ g_backend_info.bSupportsPipelineCacheData = false;
+ g_backend_info.bSupportsCoarseDerivatives = false;
+ g_backend_info.bSupportsTextureQueryLevels = false;
+ g_backend_info.bSupportsLodBiasInSampler = false;
+ g_backend_info.bSupportsSettingObjectNames = false;
+ g_backend_info.bSupportsPartialMultisampleResolve = true;
+ g_backend_info.bSupportsDynamicVertexLoader = false;
// aamodes: We only support 1 sample, so no MSAA
- g_Config.backend_info.Adapters.clear();
- g_Config.backend_info.AAModes = {1};
+ g_backend_info.Adapters.clear();
+ g_backend_info.AAModes = {1};
}
bool VideoBackend::Initialize(const WindowSystemInfo& wsi)