good progress, but no other compute pass yet
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user