mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +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
|
*params = 1024 * 4; // TODO
|
||||||
break;
|
break;
|
||||||
case GL_MAX_FRAGMENT_UNIFORM_VECTORS:
|
case GL_MAX_FRAGMENT_UNIFORM_VECTORS:
|
||||||
*params = 1024; // TODO
|
*params = 256; // TODO
|
||||||
break;
|
break;
|
||||||
case GL_MAX_FRAGMENT_UNIFORM_BLOCKS:
|
case GL_MAX_FRAGMENT_UNIFORM_BLOCKS:
|
||||||
*params = 14; // TODO
|
*params = 14; // TODO
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ namespace MobileGL {
|
|||||||
Resources.maxDrawBuffers = 32;
|
Resources.maxDrawBuffers = 32;
|
||||||
Resources.maxVertexUniformVectors = 128;
|
Resources.maxVertexUniformVectors = 128;
|
||||||
Resources.maxVaryingVectors = 8;
|
Resources.maxVaryingVectors = 8;
|
||||||
Resources.maxFragmentUniformVectors = 16;
|
Resources.maxFragmentUniformVectors = 256;
|
||||||
Resources.maxVertexOutputVectors = 16;
|
Resources.maxVertexOutputVectors = 16;
|
||||||
Resources.maxFragmentInputVectors = 15;
|
Resources.maxFragmentInputVectors = 15;
|
||||||
Resources.minProgramTexelOffset = -8;
|
Resources.minProgramTexelOffset = -8;
|
||||||
|
|||||||
Reference in New Issue
Block a user