mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-07 19:58:32 +09:00
[Fix] (MG_Util/ShaderTranspiler): maxFragmentUniformVectors increase to 256
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user