mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-05 01:37:07 +00:00
01c22afa37
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23962 e7fa87d3-cd2b-0410-9028-fcbf551c1848
33 lines
761 B
GLSL
33 lines
761 B
GLSL
#version 430 core
|
|
|
|
layout(location = 3) vec4 v4; // ERROR
|
|
|
|
layout(location = 3) uniform vec4 uv4;
|
|
|
|
layout(location = 2) in inb1 { vec4 v; } b1; // ERROR
|
|
layout(location = 2) out outb1 { vec4 v; } b2; // ERROR
|
|
|
|
out gl_PerVertex {
|
|
float gl_ClipDistance[];
|
|
};
|
|
|
|
void foo()
|
|
{
|
|
gl_ClipDistance[2] = 3.7;
|
|
}
|
|
|
|
struct sp {
|
|
highp float f;
|
|
in float g; // ERROR
|
|
uniform float h; // ERROR
|
|
invariant float i; // ERROR
|
|
volatile float j; // ERROR
|
|
layout(row_major) mat3 m3; // ERROR
|
|
};
|
|
|
|
void foo3(invariant vec4 v4, // ERROR
|
|
volatile vec3 v3,
|
|
layout(location = 3) vec2 v2, // ERROR
|
|
centroid vec3 cv3) // ERROR
|
|
{
|
|
} |