From 1073722cdf9c7d2db17163794009dd0d8871a72d Mon Sep 17 00:00:00 2001 From: iwubcode Date: Wed, 3 Jan 2024 18:43:44 -0600 Subject: Revert "VideoCommon: revert max pixel shader samplers back to 8 for Android devices." This reverts commit 79648e1c24eac81f54365bbcb6dbc49ad6b16b1c. --- .../GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp') 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 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; -- cgit v1.2.3