bgfx/3rdparty/glsl-optimizer/tests/fragment/tex2dshadow-outES.txt

13 lines
337 B
Text
Raw Normal View History

2012-10-07 23:41:18 -04:00
#extension GL_EXT_shadow_samplers : enable
2014-02-11 02:06:13 -05:00
uniform lowp sampler2DShadow shadowmap;
2012-10-07 23:41:18 -04:00
varying highp vec4 xlv_TEXCOORD0;
void main ()
{
2014-02-11 02:06:13 -05:00
lowp vec4 tmpvar_1;
tmpvar_1 = vec4((shadow2DEXT (shadowmap, xlv_TEXCOORD0.xyz) + shadow2DProjEXT (shadowmap, xlv_TEXCOORD0)));
gl_FragData[0] = tmpvar_1;
2012-10-07 23:41:18 -04:00
}
2014-02-11 02:06:13 -05:00
// inputs: 1, stats: 1 alu 2 tex 0 flow