glslang testing: Remove dependence on testfiles from LunarGLASS.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31512 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2015-06-17 16:15:09 +00:00
parent ab556eaaea
commit 2f21fccee9
82 changed files with 2145 additions and 80 deletions

View File

@@ -0,0 +1,21 @@
#version 130
uniform sampler2D texSampler2D;
varying vec4 color;
varying float alpha;
varying vec4 gl_TexCoord[6];
varying vec4 userIn[2];
uniform int a, b;
void main()
{
vec4 texColor = texture2D(texSampler2D, vec2(userIn[b] + gl_TexCoord[a] + gl_TexCoord[5]));
texColor += color;
texColor.a = alpha;
gl_FragColor = gl_TexCoord[0] + gl_TexCoord[b] + texColor + userIn[a];
}