generate OpLine before OpFunction
[platform/upstream/glslang.git] / Test / nvShaderNoperspectiveInterpolation.frag
1 #version 300 es
2
3 precision mediump float;
4
5 noperspective in vec4 bad; // ERROR
6
7 #extension GL_NV_shader_noperspective_interpolation : enable
8
9 noperspective in vec4 color;
10
11 out vec4 fragColor;
12
13 void main() {
14     fragColor = color;
15 }