From ceb69da84d7e85480c28f9fbc6d0fb353d6b47b5 Mon Sep 17 00:00:00 2001
From: Louis Capitanchik <contact@louiscap.co>
Date: Fri, 19 Aug 2022 01:03:06 +0100
Subject: [PATCH] Update min_binding_size to match byte layout

---
 bevy_kayak_renderer/src/render/unified/pipeline.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bevy_kayak_renderer/src/render/unified/pipeline.rs b/bevy_kayak_renderer/src/render/unified/pipeline.rs
index b8215ce..3087228 100644
--- a/bevy_kayak_renderer/src/render/unified/pipeline.rs
+++ b/bevy_kayak_renderer/src/render/unified/pipeline.rs
@@ -96,7 +96,7 @@ impl FromWorld for UnifiedPipeline {
                     has_dynamic_offset: true,
                     // TODO: change this to ViewUniform::std140_size_static once crevice fixes this!
                     // Context: https://github.com/LPGhatguy/crevice/issues/29
-                    min_binding_size: BufferSize::new(4),
+                    min_binding_size: BufferSize::new(16),
                 },
                 count: None,
             }],
-- 
GitLab