mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 23:54:06 +00:00
18 lines
262 B
Plaintext
18 lines
262 B
Plaintext
|
#include <metal_stdlib>
|
||
|
#include <simd/simd.h>
|
||
|
|
||
|
using namespace metal;
|
||
|
|
||
|
struct main0_out
|
||
|
{
|
||
|
float4 gl_Position [[position]];
|
||
|
};
|
||
|
|
||
|
[[ patch(triangle, 0) ]] vertex main0_out main0()
|
||
|
{
|
||
|
main0_out out = {};
|
||
|
out.gl_Position = float4(1.0);
|
||
|
return out;
|
||
|
}
|
||
|
|