3 GL_ARB_texture_query_levels
6 #extension GL_ARB_texture_query_levels: require
13 // The only thing the spec says about textures without a minification filter is:
14 // "If the texture is complete, a non-zero value must be returned."
17 gl_Position = piglit_vertex;
18 if (textureQueryLevels(s) != 0)
19 color = vec4(0,1,0,0);
21 color = vec4(1,0,0,0);
33 clear color 0.4 0.4 0.4 0
39 texparameter 2D min nearest
40 texparameter 2D mag nearest
43 relative probe rgba (0.5, 0.5) (0, 1, 0, 0)