3 GL_ARB_texture_query_levels
6 #extension GL_ARB_texture_query_levels: require
15 gl_Position = piglit_vertex;
16 if (textureQueryLevels(s) == expected)
17 color = vec4(0,1,0,0);
19 color = vec4(1,0,0,0);
31 clear color 0.4 0.4 0.4 0
37 texparameter 2D min nearest_mipmap_nearest
38 texparameter 2D mag nearest
39 texparameter 2D base_level 0
40 texparameter 2D max_level 2
42 uniform int expected 3
45 relative probe rgba (0.5, 0.5) (0, 1, 0, 0)