A.2. Limit values

The OpenGL ES Shading Language specification defines minimum values for the sizes of various shader resources. In Mali GPU implementations, some of these values are larger than the minimum required by the specification. Specifically, the Mali GPU implementation values are listed in Table A.1.

Table A.1. Mali GPU implementation values

Shader ResourceMali Implementation ValueMinimum Value
gl_MaxVertexAttribs168
gl_MaxVertexUniformVectors256128
gl_MaxVaryingVectors128
gl_MaxVertexTextureImageUnits00
gl_MaxCombinedTextureImageUnits88
gl_MaxTextureImageUnits88
gl_MaxFragmentUniformVectors25616
gl_MaxDrawBuffers11

These values are accessible as built-in variables in shaders.

Copyright © 2007-2009 ARM. All rights reserved.ARM DUI 0363D
Non-Confidential