summaryrefslogtreecommitdiff
path: root/tests/spec/arb_shader_texture_lod/compiler/tex_grad-16.frag
blob: 0f41615dac4401d080226ac0415c8cb394b74f11 (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 GL_ARB_texture_rectangle
 * [end config]
 */
#extension GL_ARB_shader_texture_lod: require

uniform sampler2DRectShadow s;
varying vec3 coord;
varying vec2 dPdx;
varying vec2 dPdy;

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