mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 09:39:56 +00:00
24 lines
399 B
GLSL
24 lines
399 B
GLSL
|
#include <metal_stdlib>
|
||
|
#include <simd/simd.h>
|
||
|
|
||
|
using namespace metal;
|
||
|
|
||
|
struct main0_in
|
||
|
{
|
||
|
float4 VertexOut_color2 [[user(locn3)]];
|
||
|
float4 VertexOut_color [[user(locn2)]];
|
||
|
};
|
||
|
|
||
|
struct main0_out
|
||
|
{
|
||
|
float4 FragColor [[color(0)]];
|
||
|
};
|
||
|
|
||
|
fragment main0_out main0(main0_in in [[stage_in]])
|
||
|
{
|
||
|
main0_out out = {};
|
||
|
out.FragColor = in.VertexOut_color + in.VertexOut_color2;
|
||
|
return out;
|
||
|
}
|
||
|
|