bgfx/3rdparty/glsl-optimizer/tests/vertex/builtin-vars-outES.txt
2015-07-28 20:04:55 -07:00

21 lines
462 B
Text

#extension GL_EXT_draw_instanced : enable
attribute highp vec3 _inPos;
attribute highp vec3 _inNor;
void main ()
{
highp vec3 p_1;
p_1.xz = _inPos.xz;
p_1.y = (_inPos.y + float(gl_InstanceIDEXT));
p_1 = (p_1 + _inNor);
highp vec4 tmpvar_2;
tmpvar_2.w = 1.0;
tmpvar_2.xyz = p_1;
gl_Position = tmpvar_2;
gl_PointSize = p_1.x;
}
// stats: 4 alu 0 tex 0 flow
// inputs: 2
// #0: _inPos (high float) 3x1 [-1]
// #1: _inNor (high float) 3x1 [-1]