[Fix] (MG_Util/ShaderTranspiler): maxFragmentUniformVectors increase to 256

This commit is contained in:
2025-11-17 22:18:51 +08:00
parent 55db06bf5c
commit fb9a32c224
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
@@ -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;