summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2024-01-03 18:43:44 -0600
committeriwubcode <iwubcode@users.noreply.github.com>2024-01-03 18:43:44 -0600
commit1073722cdf9c7d2db17163794009dd0d8871a72d (patch)
treea8bc9c262d2d791a0e9597fe3ada5194ea91bbc6 /Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp
parent48eb8b17ef1eb7227eb200cc3813880a1ba4ae2a (diff)
Revert "VideoCommon: revert max pixel shader samplers back to 8 for Android devices."
This reverts commit 79648e1c24eac81f54365bbcb6dbc49ad6b16b1c.
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp')
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp
index 57f7e2f313..6ff64aa038 100644
--- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp
+++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp
@@ -3,9 +3,6 @@
#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.h"
-#include "Common/Logging/Log.h"
-
-#include "VideoCommon/Constants.h"
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.h"
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/MoveAction.h"
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/PrintAction.h"
@@ -35,16 +32,7 @@ std::unique_ptr<GraphicsModAction> Create(std::string_view name, const picojson:
}
else if (name == "custom_pipeline")
{
-#ifdef ANDROID
- // Custom shaders currently need more than 8 pixel samplers
- // to be used with textures, rather than make things complicated
- // just disable the feature for Android which has issues
- ERROR_LOG_FMT(VIDEO, "Android needs more than 8 pixel samplers to function, {} provided",
- VideoCommon::MAX_PIXEL_SHADER_SAMPLERS);
- return nullptr;
-#else
return CustomPipelineAction::Create(json_data, std::move(library));
-#endif
}
return nullptr;