ACMX Vulkan Shader Library
GLSL 4.50 shader effects for ACMX's Vulkan renderer
Loading...
Searching...
No Matches
acidcam_100_channel_sort_descending.comp File Reference

Vulkan compute shader: acidcam 100 channel sort descending. More...

Go to the source code of this file.

Macros

#define alpha   ext.u0.x

Functions

 layout (set=0, binding=1, std140) uniform SpriteExtended
 layout (local_size_x=16, local_size_y=16) in
 layout (set=0, binding=5, rgba8) writeonly uniform image2D outputImage
 layout (set=0, binding=0) uniform sampler2D samp
vec3 source_at (ivec2 p, ivec2 s)
 Evaluates source at for this shader effect.
float luma (vec3 c)
 Evaluates luma for this shader effect.
void main ()
 Executes the compute shader entry point.

Variables

 ext

Detailed Description

Vulkan compute shader: acidcam 100 channel sort descending.

Definition in file acidcam_100_channel_sort_descending.comp.

Macro Definition Documentation

◆ alpha

#define alpha   ext.u0.x

Definition at line 17 of file acidcam_100_channel_sort_descending.comp.

Function Documentation

◆ layout() [1/4]

layout ( local_size_x = 16,
local_size_y = 16 )

References layout().

◆ layout() [2/4]

layout ( set = 0,
binding = 0 )

References layout().

◆ layout() [3/4]

layout ( set = 0,
binding = 1,
std140  )

Definition at line 7 of file acidcam_100_channel_sort_descending.comp.

References layout().

◆ layout() [4/4]

layout ( set = 0,
binding = 5,
rgba8  )

References layout().

◆ luma()

float luma ( vec3 c)

Evaluates luma for this shader effect.

Parameters
cInput value for the calculation.
Returns
Computed float value.

Definition at line 35 of file acidcam_100_channel_sort_descending.comp.

References luma().

◆ main()

void main ( void )

Executes the compute shader entry point.

Definition at line 39 of file acidcam_100_channel_sort_descending.comp.

References alpha, luma(), main(), and source_at().

◆ source_at()

vec3 source_at ( ivec2 p,
ivec2 s )

Evaluates source at for this shader effect.

Parameters
pInput value for the calculation.
sInput value for the calculation.
Returns
Computed vec3 value.

Definition at line 29 of file acidcam_100_channel_sort_descending.comp.

References source_at().

Variable Documentation

◆ ext

ext

Definition at line 16 of file acidcam_100_channel_sort_descending.comp.