mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
15 lines
360 B
Text
15 lines
360 B
Text
#extension GL_ARB_shader_texture_lod : enable
|
|
varying highp vec4 xlv_TEXCOORD0;
|
|
uniform sampler2D tex;
|
|
void main ()
|
|
{
|
|
mediump vec4 tmpvar_1;
|
|
highp vec4 tmpvar_2;
|
|
tmpvar_2.zw = vec2(0.0, 0.0);
|
|
tmpvar_2.xy = xlv_TEXCOORD0.xy;
|
|
lowp vec4 tmpvar_3;
|
|
tmpvar_3 = texture2DLod (tex, tmpvar_2.xy, 0.0);
|
|
tmpvar_1 = tmpvar_3;
|
|
gl_FragData[0] = tmpvar_1;
|
|
}
|
|
|