const char *im2d_vert_src =
"void main(\n"
"	float4 in_pos,\n"
"	float4 in_color,\n"
"	float2 in_tex0,\n"
"	uniform float4 u_fogData,\n"
"	uniform float4 u_xform,\n"
"	float4 out v_color : COLOR0,\n"
"	float2 out v_tex0 : TEXCOORD0,\n"
"	float out v_fog : FOG,\n"
"	float4 out gl_Position : POSITION\n"
") {\n"
"	gl_Position = in_pos;\n"
"	gl_Position.w = 1.0;\n"
"	gl_Position.xy = gl_Position.xy * u_xform.xy + u_xform.zw;\n"
"	v_fog = DoFog(gl_Position.z, u_fogData);\n"
"	gl_Position.xyz *= gl_Position.w;\n"
"	v_color = in_color;\n"
"	v_tex0 = in_tex0;\n"
"}\n"
;
