summaryrefslogtreecommitdiff
path: root/tests/spec/arb_shader_texture_lod/compiler/tex_lod-11.frag
blob: 3d507e8e4592dc550f02283d12864ce2b4f75566 (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 vec3 coord;
varying float lod;

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