Vulkan compute shader: acidcam 112 purple rain. More...
Go to the source code of this file.
Macros | |
| #define | alpha ext.u0.x |
| #define | iFrame int(ext.u2.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 | hash (float x) |
| Evaluates hash for this shader effect. | |
| void | main () |
| Executes the compute shader entry point. | |
Variables | |
| ext | |
Vulkan compute shader: acidcam 112 purple rain.
Definition in file acidcam_112_purple_rain.comp.
| #define alpha ext.u0.x |
Definition at line 17 of file acidcam_112_purple_rain.comp.
| #define iFrame int(ext.u2.x) |
Definition at line 18 of file acidcam_112_purple_rain.comp.
| float hash | ( | float | x | ) |
Evaluates hash for this shader effect.
| x | Input value for the calculation. |
Definition at line 37 of file acidcam_112_purple_rain.comp.
References hash().
| 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_112_purple_rain.comp.
References layout().
| layout | ( | set | = 0, |
| binding | = 5, | ||
| rgba8 | ) |
References layout().
| void main | ( | void | ) |
Executes the compute shader entry point.
Definition at line 41 of file acidcam_112_purple_rain.comp.
References alpha, hash(), iFrame, main(), and source_at().
| vec3 source_at | ( | ivec2 | p, |
| ivec2 | s ) |
Evaluates source at for this shader effect.
| p | Input value for the calculation. |
| s | Input value for the calculation. |
Definition at line 31 of file acidcam_112_purple_rain.comp.
References source_at().
| ext |
Definition at line 16 of file acidcam_112_purple_rain.comp.