6.9. glsl

The glsl module exports bridge symbols that make it possible to define and access external variables for shader programs.

definegl_ClipDistance

A constant of type [f32 x ?].

definegl_FragCoord

A constant of type vec4.

definegl_FragDepth

A constant of type f32.

definegl_GlobalInvocationID

A constant of type uvec3.

definegl_InstanceID

A constant of type i32.

definegl_InstanceIndex

A constant of type i32.

definegl_LocalInvocationID

A constant of type uvec3.

definegl_LocalInvocationIndex

A constant of type u32.

definegl_NumWorkGroups

A constant of type uvec3.

definegl_PointSize

A constant of type f32.

definegl_Position

A constant of type vec4.

definegl_VertexID

A constant of type i32.

definegl_VertexIndex

A constant of type i32.

definegl_WorkGroupID

A constant of type uvec3.

definegl_WorkGroupSize

A constant of type uvec3.

definer16

A constant of type Symbol.

definer16_snorm

A constant of type Symbol.

definer16f

A constant of type Symbol.

definer16i

A constant of type Symbol.

definer16ui

A constant of type Symbol.

definer32

A constant of type Symbol.

definer32f

A constant of type Symbol.

definer32i

A constant of type Symbol.

definer32ui

A constant of type Symbol.

definer8

A constant of type Symbol.

definer8_snorm

A constant of type Symbol.

definer8i

A constant of type Symbol.

definer8ui

A constant of type Symbol.

definerg16

A constant of type Symbol.

definerg16_snorm

A constant of type Symbol.

definerg16f

A constant of type Symbol.

definerg16i

A constant of type Symbol.

definerg16ui

A constant of type Symbol.

definerg32

A constant of type Symbol.

definerg32f

A constant of type Symbol.

definerg32i

A constant of type Symbol.

definerg32ui

A constant of type Symbol.

definerg8

A constant of type Symbol.

definerg8_snorm

A constant of type Symbol.

definerg8i

A constant of type Symbol.

definerg8ui

A constant of type Symbol.

definergba16

A constant of type Symbol.

definergba16_snorm

A constant of type Symbol.

definergba16f

A constant of type Symbol.

definergba16i

A constant of type Symbol.

definergba16ui

A constant of type Symbol.

definergba32

A constant of type Symbol.

definergba32f

A constant of type Symbol.

definergba32i

A constant of type Symbol.

definergba32ui

A constant of type Symbol.

definergba8

A constant of type Symbol.

definergba8_snorm

A constant of type Symbol.

definergba8i

A constant of type Symbol.

definergba8ui

A constant of type Symbol.

typeDispatchIndirectCommand

A plain type of supertype CStruct and of storage type {num_groups_x=u32 num_groups_y=u32 num_groups_z=u32}.

typeDrawArraysIndirectCommand

A plain type of supertype CStruct and of storage type {count=u32 instanceCount=u32 first=u32 baseInstance=u32}.

typeceil

An opaque type of supertype OverloadedFunction.

typedFdx

An opaque type of supertype OverloadedFunction.

typedFdy

An opaque type of supertype OverloadedFunction.

typefindLSB

An opaque type of supertype OverloadedFunction.

typefract

An opaque type of supertype OverloadedFunction.

typefwidth

An opaque type of supertype OverloadedFunction.

typegsampler

An opaque type.

typegsampler1D

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typegsampler1DArray

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typegsampler2D

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typegsampler2DArray

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typegsampler2DMS

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typegsampler2DMSArray

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typegsampler2DRect

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typegsampler3D

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typegsamplerBuffer

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typegsamplerCube

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typegsamplerCubeArray

An opaque type of supertype gsampler.

builtintexture-levels ( ... )
builtintexture-samples ( ... )
typeisampler1D

A plain type of supertype gsampler1D$3 and of storage type <SampledImage.

typeisampler1DArray

A plain type of supertype gsampler1DArray$3 and of storage type <SampledImage.

typeisampler2D

A plain type of supertype gsampler2D$3 and of storage type <SampledImage.

typeisampler2DArray

A plain type of supertype gsampler2DArray$3 and of storage type <SampledImage.

typeisampler2DMS

A plain type of supertype gsampler2DMS$3 and of storage type <SampledImage.

typeisampler2DMSArray

A plain type of supertype gsampler2DMSArray$3 and of storage type <SampledImage.

typeisampler2DRect

A plain type of supertype gsampler2DRect$3 and of storage type <SampledImage.

typeisampler3D

A plain type of supertype gsampler3D$3 and of storage type <SampledImage.

typeisamplerBuffer

A plain type of supertype gsamplerBuffer$3 and of storage type <SampledImage.

typeisamplerCube

A plain type of supertype gsamplerCube$3 and of storage type <SampledImage.

typeisamplerCubeArray

A plain type of supertype gsamplerCubeArray$3 and of storage type <SampledImage.

typesampler1D

A plain type of supertype gsampler1D$2 and of storage type <SampledImage.

typesampler1DArray

A plain type of supertype gsampler1DArray$2 and of storage type <SampledImage.

typesampler2D

A plain type of supertype gsampler2D$2 and of storage type <SampledImage.

typesampler2DArray

A plain type of supertype gsampler2DArray$2 and of storage type <SampledImage.

typesampler2DMS

A plain type of supertype gsampler2DMS$2 and of storage type <SampledImage.

typesampler2DMSArray

A plain type of supertype gsampler2DMSArray$2 and of storage type <SampledImage.

typesampler2DRect

A plain type of supertype gsampler2DRect$2 and of storage type <SampledImage.

typesampler3D

A plain type of supertype gsampler3D$2 and of storage type <SampledImage.

typesamplerBuffer

A plain type of supertype gsamplerBuffer$2 and of storage type <SampledImage.

typesamplerCube

A plain type of supertype gsamplerCube$2 and of storage type <SampledImage.

typesamplerCubeArray

A plain type of supertype gsamplerCubeArray$2 and of storage type <SampledImage.

typesmoothstep

An opaque type of supertype OverloadedFunction.

typeusampler1D

A plain type of supertype gsampler1D$4 and of storage type <SampledImage.

typeusampler1DArray

A plain type of supertype gsampler1DArray$4 and of storage type <SampledImage.

typeusampler2D

A plain type of supertype gsampler2D$4 and of storage type <SampledImage.

typeusampler2DArray

A plain type of supertype gsampler2DArray$4 and of storage type <SampledImage.

typeusampler2DMS

A plain type of supertype gsampler2DMS$4 and of storage type <SampledImage.

typeusampler2DMSArray

A plain type of supertype gsampler2DMSArray$4 and of storage type <SampledImage.

typeusampler2DRect

A plain type of supertype gsampler2DRect$4 and of storage type <SampledImage.

typeusampler3D

A plain type of supertype gsampler3D$4 and of storage type <SampledImage.

typeusamplerBuffer

A plain type of supertype gsamplerBuffer$4 and of storage type <SampledImage.

typeusamplerCube

A plain type of supertype gsamplerCube$4 and of storage type <SampledImage.

typeusamplerCubeArray

A plain type of supertype gsamplerCubeArray$4 and of storage type <SampledImage.

inlineatomicAdd ( mem data )
inlineatomicAnd ( mem data )
inlineatomicCompSwap ( mem compare data )
inlineatomicExchange ( mem data )
inlineatomicMax ( mem data )
inlineatomicMin ( mem data )
inlineatomicOr ( mem data )
inlineatomicXor ( mem data )
inlinebarrier ()
inlinegroupMemoryBarrier ()
inlineiimage1D ( format )
inlineiimage1DArray ( format )
inlineiimage2D ( format )
inlineiimage2DArray ( format )
inlineiimage2DMS ( format )
inlineiimage2DMSArray ( format )
inlineiimage2DRect ( format )
inlineiimage3D ( format )
inlineiimageBuffer ( format )
inlineiimageCube ( format )
inlineiimageCubeArray ( format )
inlineimage1D ( format )
inlineimage1DArray ( format )
inlineimage2D ( format )
inlineimage2DArray ( format )
inlineimage2DMS ( format )
inlineimage2DMSArray ( format )
inlineimage2DRect ( format )
inlineimage3D ( format )
inlineimageBuffer ( format )
inlineimageCube ( format )
inlineimageCubeArray ( format )
inlineimageLoad ( image coord )
inlineimageStore ( image coord data )
inlinelocal_size ( x y z )
inlinememoryBarrier ()
inlinememoryBarrierBuffer ()
inlinememoryBarrierImage ()
inlinememoryBarrierShared ()
inlinetexelFetch ( sampler P ... )
inlinetexelFetchOffset ( sampler P lod offset )
inlinetexture ( sampler P ... )
inlinetextureGather ( sampler P ... )
inlinetextureLod ( sampler P lod )
inlinetextureOffset ( sampler P offset ... )
inlinetextureProj ( sampler P ... )
inlinetextureQueryLevels ( sampler )
inlinetextureQueryLod ( sampler P )
inlinetextureSamples ( sampler )
inlinetextureSize ( sampler ... )
inlineuimage1D ( format )
inlineuimage1DArray ( format )
inlineuimage2D ( format )
inlineuimage2DArray ( format )
inlineuimage2DMS ( format )
inlineuimage2DMSArray ( format )
inlineuimage2DRect ( format )
inlineuimage3D ( format )
inlineuimageBuffer ( format )
inlineuimageCube ( format )
inlineuimageCubeArray ( format )
sugar(buffer ... )
sugar(fragment_depth ... )
sugar(in ... )
sugar(inout ... )
sugar(inout-geometry ... )
sugar(input_primitive ... )
sugar(out ... )
sugar(output_primitive ... )
sugar(shared ... )
sugar(uniform ... )
compiledfnEmitVertex ( ... )

An external function of type void<-().

compiledfnEndPrimitive ( ... )

An external function of type void<-().

compiledfnpackHalf2x16 ( ... )

An external function of type u32<-(vec2).

compiledfnpackSnorm2x16 ( ... )

An external function of type u32<-(vec2).

compiledfnpackSnorm4x8 ( ... )

An external function of type u32<-(vec4).

compiledfnpackUnorm2x16 ( ... )

An external function of type u32<-(vec2).

compiledfnpackUnorm4x8 ( ... )

An external function of type u32<-(vec4).

compiledfnunpackHalf2x16 ( ... )

An external function of type vec2<-(u32).

compiledfnunpackSnorm2x16 ( ... )

An external function of type vec2<-(u32).

compiledfnunpackSnorm4x8 ( ... )

An external function of type vec4<-(u32).

compiledfnunpackUnorm2x16 ( ... )

An external function of type vec2<-(u32).

compiledfnunpackUnorm4x8 ( ... )

An external function of type vec4<-(u32).