Handle SPIR-V type mismatch when constructing a composite

This commit is contained in:
Jeff Bolz
2019-06-25 13:31:10 -05:00
parent 4e6b9ea329
commit 531344905f
6 changed files with 213 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
#version 460 core
layout(local_size_x=64) in;
struct sA {
int x, y;
};
struct sB {
sA a;
};
layout(binding=0,set=0) uniform ubo {
sB b;
};
struct sC {
sA state;
} c = {
b.a,
};
void main()
{
}