bgfx/3rdparty/glsl-optimizer/tests/vertex/swizzlemask-out.txt
2014-10-11 12:32:43 -07:00

15 lines
290 B
Plaintext

varying vec4 texcoord;
void main ()
{
gl_Position.zw = (gl_Vertex.xy * 2.0);
gl_Position.xy = gl_Vertex.xy;
texcoord.x = gl_Vertex.z;
texcoord.yz = gl_Vertex.zw;
texcoord.w = gl_Vertex.x;
}
// stats: 1 alu 0 tex 0 flow
// inputs: 1
// #0: gl_Vertex (high float) 4x1 [-1] loc 0