bgfx/3rdparty/glsl-optimizer/tests/fragment/texCubeShadow-irES3.txt
2014-02-10 23:06:13 -08:00

20 lines
409 B
Text

#version 300 es
precision mediump float;
uniform lowp samplerCubeShadow shadowmap;
in mediump vec4 uv;
out mediump vec4 _fragColor;
void main ()
{
lowp float s_1;
lowp float tmpvar_2;
tmpvar_2 = texture (shadowmap, uv);
lowp float tmpvar_3;
tmpvar_3 = tmpvar_2;
s_1 = tmpvar_3;
lowp vec4 tmpvar_4;
tmpvar_4 = vec4(s_1);
lowp vec4 tmpvar_5;
tmpvar_5 = tmpvar_4;
_fragColor = tmpvar_5;
}