cl: Don't use device_infos if num_device_infos == 0
[piglit.git] / tests / glslparsertest / glsl2 / tex_lod-07.frag
bloba4d467540e46acbd333146aedd86a33b1c84a5ed
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.10
4 //
5 // [end config]
7 /* FAIL
8  * Without GLSL 1.40 or GL_ARB_shader_texture_lod, the "Lod" versions of the
9  * texture lookup functions are not available in fragment shaders.
10  */
11 uniform sampler2D s;
12 varying vec3 coord;
13 varying float lod;
15 void main()
17   gl_FragColor = texture2DProjLod(s, coord, lod);