GL_EXT_shader_non_constant_global_initializers#
Valid APIs#
OpenGL ES 3.2
Description#
This extension adds the ability to use non-constant initializers for global variables in the OpenGL ES Shading Language specifications. This functionality is already present in the OpenGL Shading language specification.
Registry Link#
Example#
uniform int i;
int a = i;
void foo();
void main() { foo(); }