bgfx/3rdparty/glsl-optimizer/tests/fragment/prec-matrix-constr-outES3.txt
2015-04-02 23:30:48 -07:00

25 lines
577 B
Text

#version 300 es
out mediump vec4 _glesFragData;
in mediump vec3 inNormal;
void main ()
{
mediump vec4 c_1;
mediump mat3 tmpvar_2;
tmpvar_2[uint(0)].x = 0.8164966;
tmpvar_2[uint(0)].y = -0.4082483;
tmpvar_2[uint(0)].z = -0.4082483;
tmpvar_2[1u].x = 0.0;
tmpvar_2[1u].y = 0.7071068;
tmpvar_2[1u].z = -0.7071068;
tmpvar_2[2u].x = 0.5773503;
tmpvar_2[2u].y = 0.5773503;
tmpvar_2[2u].z = 0.5773503;
c_1.xyz = (tmpvar_2 * inNormal);
c_1.w = 0.0;
_glesFragData = c_1;
}
// stats: 11 alu 0 tex 0 flow
// inputs: 1
// #0: inNormal (medium float) 3x1 [-1]