mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-13 06:41:20 +00:00
![John Kessenich](/assets/img/avatar_default.png)
Also, updated several tests and the Todo list. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22845 e7fa87d3-cd2b-0410-9028-fcbf551c1848
32 lines
916 B
GLSL
32 lines
916 B
GLSL
#version 420 core
|
|
|
|
varying vec2 v2; // ERROR, varying reserved
|
|
in vec4 bad[10];
|
|
highp in vec4 badorder;
|
|
out invariant vec4 badorder2;
|
|
in centroid vec4 badorder4; // ERROR, no centroid input to vertex stage
|
|
out flat vec4 badorder3;
|
|
void bar(in const float a);
|
|
void bar2(highp in float b);
|
|
smooth flat out vec4 rep; // ERROR, replicating interpolation qualification
|
|
centroid sample out vec4 rep2; // ERROR, replicating auxiliary qualification
|
|
in uniform vec4 rep3; // ERROR, replicating storage qualification
|
|
|
|
void main()
|
|
{
|
|
int i;
|
|
if (i == 3)
|
|
int j = i;
|
|
else
|
|
int k = j; // ERROR, j is undeclared
|
|
int m = k; // ERROR, k is undeclared
|
|
int n = j; // ERROR, j is undeclared
|
|
|
|
while (true)
|
|
int jj;
|
|
int kk = jj; // ERROR, jj is undeclared
|
|
}
|
|
|
|
void bar(in highp volatile vec4 v)
|
|
{
|
|
} |