1#version 320 es 2 3#extension GL_EXT_texture_shadow_lod : enable 4 5 6uniform lowp sampler2DArrayShadow s2da; 7uniform lowp samplerCubeArrayShadow sca; 8uniform lowp samplerCubeShadow sc; 9 10in lowp vec4 tc; 11out lowp float c; 12void main() 13{ 14 c = texture(s2da, tc, 0.0); 15 c = texture(sca, tc, 0.0, 0.0); 16 c = textureOffset(s2da, tc, ivec2(0.0), 0.0); 17 c = textureLod(s2da, tc, 0.0); 18 c = textureLod(sc, tc, 0.0); 19 c = textureLod(sca, tc, 0.0, 0.0); 20 c = textureLodOffset(s2da, tc, 0.0, ivec2(0.0)); 21 22} 23