SPIRV-Cross/reference/opt/shaders/asm/vert/empty-io.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

15 lines
150 B
GLSL

#version 450
struct VSOutput
{
int empty_struct_member;
};
layout(location = 0) in vec4 position;
void main()
{
gl_Position = position;
}