Vulkan compute shader: acidcam 020 saturate. More...
Go to the source code of this file.
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 | |
| ivec2 | clampPos (ivec2 p, ivec2 size) |
| Evaluates clampPos for this shader effect. | |
| vec2 | pixelUv (ivec2 p, ivec2 size) |
| Evaluates pixelUv for this shader effect. | |
| vec3 | sampleSource (ivec2 p, ivec2 size) |
| Evaluates sampleSource for this shader effect. | |
| float | luma (vec3 color) |
| Evaluates luma for this shader effect. | |
| vec3 | saturation (vec3 color, float amount) |
| Evaluates saturation for this shader effect. | |
| void | main () |
| Executes the compute shader entry point. | |
Variables | |
| ext | |
Vulkan compute shader: acidcam 020 saturate.
Definition in file acidcam_020_saturate.comp.
| ivec2 clampPos | ( | ivec2 | p, |
| ivec2 | size ) |
Evaluates clampPos for this shader effect.
| p | Input value for the calculation. |
| size | Input value for the calculation. |
Definition at line 29 of file acidcam_020_saturate.comp.
References clampPos().
| layout | ( | local_size_x | = 16, |
| local_size_y | = 16 ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 7 of file acidcam_020_saturate.comp.
References layout().
| layout | ( | set | = 0, |
| binding | = 5, | ||
| rgba8 | ) |
References layout().
| float luma | ( | vec3 | color | ) |
Evaluates luma for this shader effect.
| color | Input value for the calculation. |
Definition at line 58 of file acidcam_020_saturate.comp.
References luma().
| void main | ( | void | ) |
Executes the compute shader entry point.
Definition at line 76 of file acidcam_020_saturate.comp.
References main(), sampleSource(), and saturation().
| vec2 pixelUv | ( | ivec2 | p, |
| ivec2 | size ) |
Evaluates pixelUv for this shader effect.
| p | Input value for the calculation. |
| size | Input value for the calculation. |
Definition at line 39 of file acidcam_020_saturate.comp.
References clampPos(), and pixelUv().
| vec3 sampleSource | ( | ivec2 | p, |
| ivec2 | size ) |
Evaluates sampleSource for this shader effect.
| p | Input value for the calculation. |
| size | Input value for the calculation. |
Definition at line 49 of file acidcam_020_saturate.comp.
References pixelUv(), and sampleSource().
| vec3 saturation | ( | vec3 | color, |
| float | amount ) |
Evaluates saturation for this shader effect.
| color | Input value for the calculation. |
| amount | Input value for the calculation. |
Definition at line 68 of file acidcam_020_saturate.comp.
References luma(), and saturation().
Referenced by main(), main(), sacredGeometry(), and saturation().
| ext |
Definition at line 16 of file acidcam_020_saturate.comp.