SPIRV-Cross/reference/shaders-msl/vert/implicit-position-1.vert

19 lines
257 B
GLSL
Raw Normal View History

#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct main0_out
{
float4 V [[user(locn0)]];
float4 gl_Position [[position]];
};
vertex main0_out main0()
{
main0_out out = {};
out.V = float4(1.0);
return out;
}