SPV: Fix issue #506: generalize struct deep copy to include arrays.

This commit is contained in:
John Kessenich
2016-09-11 12:33:43 -06:00
parent cd0a78a0d9
commit b3e24e4359
4 changed files with 281 additions and 185 deletions

View File

@@ -2,7 +2,7 @@
struct MyStruct
{
vec4 foo;
vec2 foo[2];
bool sb;
};
@@ -23,7 +23,7 @@ layout(binding = 2, std140) uniform UBO
struct Nested {
float f;
MyStruct S;
MyStruct S[2];
};
layout(binding = 2, std140) uniform UBON