summaryrefslogtreecommitdiff
path: root/tests/spec/arb_shader_texture_lod/compiler/tex_grad-06.frag
blob: 943b43c2e7552821f4941e797d79f34ad00581ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* [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 vec2 dPdx;
varying vec2 dPdy;

void main()
{
  gl_FragColor = texture2DGradARB(s, coord, dPdx, dPdy);
}