SPIRV-Cross/reference/shaders-msl-no-opt/asm/vert/empty-struct-composite.asm.vert
Hans-Kristian Arntzen 3b5c4c7316 Implement constant empty struct correctly on all backends.
MSL actually supports empty structs, so enable that path as well.
2019-10-26 16:10:11 +02:00

14 lines
137 B
GLSL

#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Test
{
};
vertex void main0()
{
Test t = Test{ };
}