blob: 393810d94c19cddabfc7ad12585cbf0b583d5b04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// [config]
// expect_result: fail
// glsl_version: 1.10
//
// [end config]
/* FAIL
* Without GLSL 1.40 or GL_ARB_shader_texture_lod, the "Lod" versions of the
* texture lookup functions are not available in fragment shaders.
*/
uniform sampler2DShadow s;
varying vec4 coord;
varying float lod;
void main()
{
gl_FragColor = shadow2DProjLod(s, coord, lod);
}
|