Add padding to struct definitions in shaders, for better formatting

This commit is contained in:
baldurk committed 2019-11-29 13:53:45 +00:00
1 parent f514815e3c
commit 289e159072
2 files changed
+2

No files matched your search

@@ -76,6 +76,7 @@ layout(buffer_reference, scalar, buffer_reference_align = 16) buffer DrawData {
vec4 tint;
vec2 offset;
vec2 scale;
vec2 padding;
};
layout(push_constant) uniform PushData {
@@ -76,6 +76,7 @@ layout(buffer_reference, scalar, buffer_reference_align = 16) buffer DrawData {
vec4 tint;
vec2 offset;
vec2 scale;
vec2 padding;
};
layout(push_constant) uniform PushData {