glslang-zig/Test/negativeArraySize.comp
2016-05-09 17:07:04 -06:00

10 lines
139 B
Text

#version 310 es
#ifdef GL_ES
precision mediump float;
#endif
void main()
{
float f[-2]; // cannot declare arrays with negative size
}