Vulkan compute shader: acidcam 012 kaleido slice glitch. 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 | |
| float | hash11 (float value) |
| Evaluates hash11 for this shader effect. | |
| vec3 | source_at (vec2 position, ivec2 size) |
| Evaluates source at for this shader effect. | |
| void | main () |
| Executes the compute shader entry point. | |
Variables | |
| ext | |
| const float | TAU = 6.28318530718 |
Vulkan compute shader: acidcam 012 kaleido slice glitch.
Definition in file acidcam_012_kaleido_slice_glitch.comp.
| #define alpha ext.u0.x |
Definition at line 17 of file acidcam_012_kaleido_slice_glitch.comp.
| #define iFrame int(ext.u2.x) |
Definition at line 18 of file acidcam_012_kaleido_slice_glitch.comp.
| float hash11 | ( | float | value | ) |
| 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_012_kaleido_slice_glitch.comp.
References layout().
| layout | ( | set | = 0, |
| binding | = 5, | ||
| rgba8 | ) |
References layout().
| void main | ( | void | ) |
Executes the compute shader entry point.
Definition at line 52 of file acidcam_012_kaleido_slice_glitch.comp.
References alpha, hash11(), iFrame, main(), source_at(), strength, and TAU.
| vec3 source_at | ( | vec2 | position, |
| ivec2 | size ) |
Evaluates source at for this shader effect.
| position | Input value for the calculation. |
| size | Input value for the calculation. |
Definition at line 44 of file acidcam_012_kaleido_slice_glitch.comp.
References source_at().
Referenced by load_tile(), main(), source_at(), source_at(), and source_at().
| ext |
Definition at line 16 of file acidcam_012_kaleido_slice_glitch.comp.
| const float TAU = 6.28318530718 |
Definition at line 27 of file acidcam_012_kaleido_slice_glitch.comp.