SPV: Generalize multiple struct-type instances for interpolation/invariant qualifiers.

This commit is contained in:
John Kessenich
2015-12-24 10:30:13 -07:00
parent 69d01eadd6
commit e0b6cad44f
4 changed files with 108 additions and 50 deletions

View File

@@ -1,6 +1,6 @@
#version 450
// should get 3 SPV types for S: no layout, 140, and 430
// should get 3 SPV types for S: no layout, 140, and 430, plus extras for interpolation or invariant differences
struct S
{
highp uvec3 a;
@@ -71,3 +71,6 @@ layout(set = 1, binding = 0, std430) buffer bBt3
void main()
{
}
flat out S sout;
invariant out S soutinv;