glslang/Test/implicitArraySizeBuiltin.vert
Chow f9b760e6c7
[glslang] Refine implicit array size interfaces. (#3074)
* [glslang] Refine implicit array size interfaces.

Help to check builtin and other variables if across stages.
2022-12-13 11:20:28 -07:00

11 lines
122 B
GLSL

#version 460 core
void f1(float x)
{
gl_ClipDistance[6] = x;
gl_CullDistance[1] = x;
}
void main(){
f1(0.1);
}