summaryrefslogtreecommitdiff
path: root/tests/spec/arb_shader_texture_lod/compiler/tex_lod-12.frag
blob: 65aca61688aefc0ca6efd3bddd4eae674b361366 (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 sampler3D s;
varying vec4 coord;
varying float lod;

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