From 41d9d143468e88ce5e76c5d3c0543095339a0242 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Tue, 12 Jan 2021 23:11:45 +0100 Subject: Fix random swapchain out_of_date on presentation --- shaders/compute.comp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shaders') diff --git a/shaders/compute.comp b/shaders/compute.comp index 633fa50..6f47408 100644 --- a/shaders/compute.comp +++ b/shaders/compute.comp @@ -46,7 +46,7 @@ struct camera { float[3] padding; }; -layout(set = 0, binding = 0) uniform Inputs { +layout(set = 0, binding = 0) buffer Inputs { vec4 sky_color; vec4 ground_color; camera cam; -- cgit v1.3