mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 23:54:06 +00:00
23 lines
353 B
GLSL
23 lines
353 B
GLSL
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using namespace metal;
|
|
|
|
struct main0_out
|
|
{
|
|
float4 gl_Position [[position]];
|
|
};
|
|
|
|
struct main0_in
|
|
{
|
|
float2 in_var_POSITION [[attribute(0)]];
|
|
};
|
|
|
|
vertex main0_out main0(main0_in in [[stage_in]])
|
|
{
|
|
main0_out out = {};
|
|
out.gl_Position = float4(in.in_var_POSITION, 0.0, 1.0);
|
|
return out;
|
|
}
|
|
|