mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-15 06:10:05 +00:00
39374dadb5
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31212 e7fa87d3-cd2b-0410-9028-fcbf551c1848
20 lines
307 B
GLSL
20 lines
307 B
GLSL
#version 330
|
|
|
|
uniform mat4 mvp;
|
|
|
|
in vec4 v;
|
|
in mat3 am3;
|
|
in mat4 arraym[3];
|
|
|
|
out float f;
|
|
out vec4 glPos;
|
|
//out mat4 mout[2];
|
|
|
|
void main()
|
|
{
|
|
//needs complex output blocks to work: gl_Position = mvp * v;
|
|
glPos = mvp * v;
|
|
f = am3[2][1] + arraym[1][2][3];
|
|
//mout[1] = arraym[2];
|
|
}
|