Add padding to struct definitions in shaders, for better formatting

This commit is contained in:
baldurk
2019-11-29 11:28:39 +00:00
parent f514815e3c
commit 289e159072
2 changed files with 2 additions and 0 deletions
@@ -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 {