summaryrefslogtreecommitdiff
path: root/tests/spec/arb_shader_texture_lod/compiler/tex_lod-06.frag
blob: 8a540e529d96bbba5132933d966c4fa6fe9a908d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* [config]
 * expect_result: pass
 * glsl_version: 1.10
 * require_extensions: GL_ARB_shader_texture_lod
 * [end config]
 */
#extension GL_ARB_shader_texture_lod: require

uniform sampler2D s;
varying vec2 coord;
varying float lod;

void main()
{
  gl_FragColor = texture2DLod(s, coord, lod);
}