3 // glsl_version: 3.00 es
7 // From the GLSL ES 3.00 specification, section 4.5.4 ("Default
8 // Precision Qualifiers"):
10 // "The precision statement
12 // precision precision-qualifier type;
14 // can be used to establish a default precision qualifier. The
15 // type field can be int or float or any of the sampler types, and
16 // the precision-qualifier can be lowp, mediump, or highp."
18 // This test verifies that a default precision qualifier can be used
19 // on all of GLSL ES 3.00's sampler types.
23 precision mediump sampler2D;
24 precision mediump sampler3D;
25 precision mediump samplerCube;
26 precision mediump samplerCubeShadow;
27 precision mediump sampler2DShadow;
28 precision mediump sampler2DArray;
29 precision mediump sampler2DArrayShadow;
30 precision mediump isampler2D;
31 precision mediump isampler3D;
32 precision mediump isamplerCube;
33 precision mediump isampler2DArray;
34 precision mediump usampler2D;
35 precision mediump usampler3D;
36 precision mediump usamplerCube;
37 precision mediump usampler2DArray;
41 gl_Position = vec4(0.0);