SPIRV-Cross/reference/shaders-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

14 lines
120 B
GLSL

#version 450
struct Test
{
int empty_struct_member;
};
void main()
{
Test _14 = Test(0);
Test t = _14;
}