summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp')
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp32
1 files changed, 4 insertions, 28 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>,