mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-25 12:19:49 +00:00
60d9f7a881
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22083 e7fa87d3-cd2b-0410-9028-fcbf551c1848
33 lines
520 B
GLSL
33 lines
520 B
GLSL
#version 120
|
|
|
|
in vec4 i;
|
|
out vec4 o;
|
|
|
|
attribute vec2 attv2;
|
|
attribute vec4 attv4;
|
|
uniform sampler2D s2D;
|
|
invariant varying vec2 centTexCoord;
|
|
invariant gl_Position;
|
|
centroid gl_Position;
|
|
centroid centroid foo;
|
|
invariant gl_Position, gl_PointSize;
|
|
|
|
void main()
|
|
{
|
|
centTexCoord = attv2;
|
|
gl_Position = attv4;
|
|
|
|
vec3[12] a;
|
|
vec4[a.length()] b;
|
|
gl_Position = b[b.length()-1];
|
|
|
|
float f[];
|
|
int a = f.length();
|
|
|
|
gl_PointSize = 3.8;
|
|
}
|
|
|
|
uniform float initted = 3.4;
|
|
|
|
const float concall = sin(0.3);
|