summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2025-12-27 09:07:42 +0100
committerJoshua Vandaƫle <joshua@vandaele.software>2025-12-27 09:07:42 +0100
commit35c6a6e61283bdf71a3f46faf6ba53976e4f0a25 (patch)
treea9e221142ae4846e03205e294a6a7a9e03cb53f1 /Source/Core/VideoCommon/GraphicsModSystem
parent4b086b1256855be85873b9cee5b2bdd4efb91caf (diff)
CustomPipeline: Remove unused functions
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem')
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp32
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.h10
2 files changed, 5 insertions, 37 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp
index aa392f0a96..bb09a84328 100644
--- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp
+++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp
@@ -3,35 +3,11 @@
#include "VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.h"
-#include <algorithm>
-#include <array>
-#include <variant>
+#include <memory>
+#include <span>
-#include "Common/Contains.h"
-#include "Common/Logging/Log.h"
-#include "Common/VariantUtil.h"
-
-#include "VideoCommon/AbstractGfx.h"
-
-namespace
-{
-bool IsQualifier(std::string_view value)
-{
- static constexpr std::array<std::string_view, 7> qualifiers = {
- "attribute", "const", "highp", "lowp", "mediump", "uniform", "varying",
- };
- return Common::Contains(qualifiers, value);
-}
-
-bool IsBuiltInMacro(std::string_view value)
-{
- static constexpr std::array<std::string_view, 5> built_in = {
- "__LINE__", "__FILE__", "__VERSION__", "GL_core_profile", "GL_compatibility_profile",
- };
- return Common::Contains(built_in, value);
-}
-
-} // namespace
+#include "Common/CommonTypes.h"
+#include "VideoCommon/Assets/CustomAssetLibrary.h"
void CustomPipeline::UpdatePixelData(std::shared_ptr<VideoCommon::CustomAssetLibrary>,
std::span<const u32>,
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.h b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.h
index 7165c9291f..3aa7b6641c 100644
--- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.h
+++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.h
@@ -4,18 +4,10 @@
#pragma once
#include <memory>
-#include <optional>
#include <span>
-#include <string>
-#include <string_view>
-#include <vector>
-#include "VideoCommon/AbstractTexture.h"
+#include "Common/CommonTypes.h"
#include "VideoCommon/Assets/CustomAssetLibrary.h"
-#include "VideoCommon/Assets/MaterialAsset.h"
-#include "VideoCommon/Assets/ShaderAsset.h"
-#include "VideoCommon/Assets/TextureAsset.h"
-#include "VideoCommon/ShaderGenCommon.h"
struct CustomPipeline
{