SPIRV-Cross/reference/shaders-msl/asm/vert/invariant.msl21.asm.vert
2019-06-12 09:39:12 +02:00

26 lines
367 B
GLSL

#pragma clang diagnostic ignored "-Wmissing-prototypes"
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct main0_out
{
float4 gl_Position [[position, invariant]];
};
float4 _main()
{
return float4(1.0);
}
vertex main0_out main0()
{
main0_out out = {};
float4 _14 = _main();
out.gl_Position = _14;
return out;
}