bgfx/3rdparty/glsl-optimizer/tests/vertex/swizzlemask-ir.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

20 lines
432 B
Text

varying vec4 texcoord;
void main ()
{
vec2 tmpvar_1;
tmpvar_1 = (gl_Vertex.xy * 2.0);
gl_Position.zw = tmpvar_1.xxxy.zw;
vec2 tmpvar_2;
tmpvar_2 = gl_Vertex.xy;
gl_Position.xy = tmpvar_2.xy.xy;
float tmpvar_3;
tmpvar_3 = gl_Vertex.z;
texcoord.x = tmpvar_3;
vec2 tmpvar_4;
tmpvar_4 = gl_Vertex.zw;
texcoord.yz = tmpvar_4.xxy.yz;
float tmpvar_5;
tmpvar_5 = gl_Vertex.x;
texcoord.w = vec4(tmpvar_5).w;
}