summaryrefslogtreecommitdiff
path: root/tests/spec/arb_shader_texture_lod/compiler/tex_grad-01.frag
blob: ee16e1d174c2e600b1d7978dfd57ce9685b1f2a2 (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 sampler1D s;
varying float coord;
varying float dPdx;
varying float dPdy;

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