repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cl: Don't use device_infos if num_device_infos == 0
[piglit.git]
/
tests
/
glslparsertest
/
glsl2
/
tex_lod-07.frag
blob
a4d467540e46acbd333146aedd86a33b1c84a5ed
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
//
5
// [end config]
6
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;
14
15
void main()
16
{
17
gl_FragColor = texture2DProjLod(s, coord, lod);
18
}