SPIRV-Cross/reference/shaders-msl/vert/implicit-position-1.vert
2021-02-15 12:57:37 +01:00

19 lines
257 B
GLSL

#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;
}