#define with and without parameters, #undef, #if, #ifdef, #ifndef, #elif, #else,
#endif with defined, #error, #pragma (STDGL invariant(all) makes every output invariant), #extension,
#line, #version, and __LINE__, __FILE__, __VERSION__, GL_ES.location, binding, set, std140, std430, row_major, local_size_*, early_fragment_tests, the image
formats), precision and the default precision rules, uniform blocks, buffer blocks with a runtime-sized last
member, in and out blocks between stages (3.20, or 3.10 with GL_EXT_shader_io_blocks; arrays of them, flat,
centroid and sample members), samplers inside uniform structs, shared, functions with in, out, inout and
const parameters.length().textureGather, the image functions with their atomics, the atomics on buffers and
shared memory, the barriers. 1.00's texture2D family as well.GL_OES_standard_derivatives, GL_EXT_shader_texture_lod, GL_EXT_frag_depth,
GL_EXT_draw_buffers, GL_OES_texture_3D and GL_EXT_shadow_samplers for 1.00; GL_OES_shader_image_atomic,
GL_EXT_texture_buffer, GL_OES_texture_buffer, GL_EXT_texture_cube_map_array,
GL_OES_texture_cube_map_array, GL_OES_texture_storage_multisample_2d_array, GL_EXT_shader_io_blocks and
GL_OES_shader_io_blocks for 3.10; and GL_OES_sample_variables. Another one is refused with require and gives
a warning with enable or warn.GlslcOptions.desktop: desktop GLSL 1.10 and 1.20 compile as GLSL ES 1.00
(1.20 with the f suffix), 3.30 (core or no profile) as 3.00, and a shader without #version as 1.10. Such a
shader has no GL_ES, its own __VERSION__, an OpSource of GLSL and its version, and every type highp by
default in every stage (a sampler3D too); a precision statement is taken and changes nothing. GLSL ES shaders compile as they are,
as a desktop GL 4.3 context takes them. The GL layer (src/common/gpu/gl/gl_program.c) compiles a desktop
context's shaders this way.Made from docs/layers/gpu/glslc.md at 69237645142c. GPL-3.0-or-later.