4 * require_extensions: ${extensions}
7 #extension GL_EXT_gpu_shader4 : require
9 uniform ${prefix}sampler${param.sampler} s;
11 attribute ${param.coord} coord;
13 flat varying ${prefix}vec4 color;
18 color = ${param.func}Lod${offset}(s, coord, lod
19 % if offset == 'Offset':
20 , ${param.offsetcoord}(1)