summaryrefslogtreecommitdiff
path: root/tests/spec/arb_shader_texture_lod/compiler/tex_grad-27.vert
blob: e0d9ed84ff49aa0fc80ec3f7e3bed78ed67648c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* [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 sampler2DShadow s;
attribute vec4 pos;
attribute vec4 coord;
attribute vec2 dPdx;
attribute vec2 dPdy;
varying vec4 color;

void main()
{
  gl_Position = pos;
  color = shadow2DProjGradARB(s, coord, dPdx, dPdy);
}