bgfx/3rdparty/glslang/Test/negativeArraySize.comp
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

11 lines
139 B
Plaintext

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