bgfx/3rdparty/glsl-optimizer/tests/fragment/tex2dshadow-outES.txt
2015-10-09 22:13:07 -07:00

16 lines
440 B
Text

#extension GL_EXT_shadow_samplers : enable
uniform lowp sampler2DShadow shadowmap;
varying highp vec4 xlv_TEXCOORD0;
void main ()
{
lowp vec4 tmpvar_1;
tmpvar_1 = vec4((shadow2DEXT (shadowmap, xlv_TEXCOORD0.xyz) + shadow2DProjEXT (shadowmap, xlv_TEXCOORD0)));
gl_FragData[0] = tmpvar_1;
}
// stats: 1 alu 2 tex 0 flow
// inputs: 1
// #0: xlv_TEXCOORD0 (high float) 4x1 [-1]
// textures: 1
// #0: shadowmap (low 2dshadow) 0x0 [-1]