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

21 lines
432 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
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;
}