SPIRV-Cross/reference/shaders-hlsl-no-opt/asm/vert/empty-struct-composite.asm.vert
Hans-Kristian Arntzen 694b314f87 Support empty structs.
Need to fake it by pretending it has one dummy member.
2018-04-05 16:26:54 +02:00

16 lines
142 B
GLSL

struct Test
{
int empty_struct_member;
};
void vert_main()
{
Test _14 = { 0 };
Test t = _14;
}
void main()
{
vert_main();
}