3 GL_ARB_texture_query_levels
5 [vertex shader passthrough]
8 #extension GL_ARB_texture_query_levels: require
14 if (textureQueryLevels(s) == expected)
15 gl_FragColor = vec4(0,1,0,0);
17 gl_FragColor = vec4(1,0,0,0);
22 clear color 0.4 0.4 0.4 0
28 texparameter 2D min nearest_mipmap_nearest
29 texparameter 2D mag nearest
30 texparameter 2D base_level 1
32 uniform int expected 3
35 relative probe rgba (0.75, 0.25) (0, 1, 0, 0)