Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp
void ShInitBuiltInResources(ShBuiltInResources* resources)
{
    // Constants.
    resources->MaxVertexAttribs = 8;
    resources->MaxVertexUniformVectors = 128;
    resources->MaxVaryingVectors = 8;
    resources->MaxVertexTextureImageUnits = 0;
    resources->MaxCombinedTextureImageUnits = 8;
    resources->MaxTextureImageUnits = 8;
    resources->MaxFragmentUniformVectors = 16;
    resources->MaxDrawBuffers = 1;

    // Extensions.
    resources->OES_standard_derivatives = 0;
}
//
// Initialize built-in resources with minimum expected values.
//
Initialize built-in resources with minimum expected values.
Initialize built - in resources with minimum expected values .
void ShInitBuiltInResources(ShBuiltInResources* resources)
{
    resources->MaxVertexAttribs = 8;
    resources->MaxVertexUniformVectors = 128;
    resources->MaxVaryingVectors = 8;
    resources->MaxVertexTextureImageUnits = 0;
    resources->MaxCombinedTextureImageUnits = 8;
    resources->MaxTextureImageUnits = 8;
    resources->MaxFragmentUniformVectors = 16;
    resources->MaxDrawBuffers = 1;
    resources->OES_standard_derivatives = 0;
}
void ShInitBuiltInResources ( ShBuiltInResources * resources ) { resources -> MaxVertexAttribs = 8 ; resources -> MaxVertexUniformVectors = 128 ; resources -> MaxVaryingVectors = 8 ; resources -> MaxVertexTextureImageUnits = 0 ; resources -> MaxCombinedTextureImageUnits = 8 ; resources -> MaxTextureImageUnits = 8 ; resources -> MaxFragmentUniformVectors = 16 ; resources -> MaxDrawBuffers = 1 ; resources -> OES_standard_derivatives = 0 ; }
Initialize built-in resources with minimum expected values.
Initialize built - in resources with minimum expected values .
// Constants. // Extensions.