summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2024-01-04 19:09:54 +0000
committerGitHub <noreply@github.com>2024-01-04 19:09:54 +0000
commiteec0018b734a9788ac14e11a362b6b8d1b8e3188 (patch)
treea8bc9c262d2d791a0e9597fe3ada5194ea91bbc6 /Source/Core/VideoCommon/GraphicsModSystem/Runtime
parent48eb8b17ef1eb7227eb200cc3813880a1ba4ae2a (diff)
parent1073722cdf9c7d2db17163794009dd0d8871a72d (diff)
Merge pull request #12478 from iwubcode/revert_android_max_sampler
VideoCommon: allow Android to take advantage of 16 pixel samplers once more
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime')
-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;