SPIRV-Cross/reference/shaders-msl-no-opt/asm/vert/empty-struct-composite.asm.vert

17 lines
188 B
GLSL
Raw Normal View History

2018-03-13 09:46:55 +00:00
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Test
{
int empty_struct_member;
};
2018-03-13 09:46:55 +00:00
vertex void main0()
{
Test _14 = Test{ 0 };
Test t = _14;
2018-03-13 09:46:55 +00:00
}