diff --git a/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp b/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp index 9259a169..aaabb3ab 100644 --- a/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp +++ b/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp @@ -366,7 +366,7 @@ namespace MobileGL { *params = 1024 * 4; // TODO break; case GL_MAX_FRAGMENT_UNIFORM_VECTORS: - *params = 1024; // TODO + *params = 256; // TODO break; case GL_MAX_FRAGMENT_UNIFORM_BLOCKS: *params = 14; // TODO diff --git a/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.cpp b/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.cpp index 13834e7b..d227e621 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.cpp +++ b/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.cpp @@ -21,7 +21,7 @@ namespace MobileGL { Resources.maxDrawBuffers = 32; Resources.maxVertexUniformVectors = 128; Resources.maxVaryingVectors = 8; - Resources.maxFragmentUniformVectors = 16; + Resources.maxFragmentUniformVectors = 256; Resources.maxVertexOutputVectors = 16; Resources.maxFragmentInputVectors = 15; Resources.minProgramTexelOffset = -8;