bgfx/3rdparty/glsl-optimizer/tests/vertex/swizzlemask-out.txt

13 lines
242 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
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;
}
2014-02-11 02:06:13 -05:00
// inputs: 1, stats: 1 alu 0 tex 0 flow