good progress, but no other compute pass yet

This commit is contained in:
2025-08-01 02:18:46 +03:00
parent a847f0cfda
commit 6e04bf27ff
4 changed files with 129 additions and 29 deletions

View File

@@ -6,14 +6,12 @@ layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in;
// Our textures.
layout(r32f, set = 0, binding = 0) uniform restrict readonly image2D current_image;
layout(r32f, set = 1, binding = 0) uniform restrict readonly image2D previous_image;
layout(r32f, set = 2, binding = 0) uniform restrict writeonly image2D output_image;
layout(r32f, set = 1, binding = 0) uniform restrict writeonly image2D output_image;
// PushConstants
layout(push_constant, std430) uniform Params {
vec2 texture_size;
float decay_factor;
float dunno_lol;
} params;