mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 09:39:56 +00:00
23 lines
305 B
GLSL
23 lines
305 B
GLSL
|
#include <metal_stdlib>
|
||
|
#include <simd/simd.h>
|
||
|
|
||
|
using namespace metal;
|
||
|
|
||
|
struct SSBO
|
||
|
{
|
||
|
float4 v;
|
||
|
};
|
||
|
|
||
|
struct main0_out
|
||
|
{
|
||
|
float4 FragColor [[color(0)]];
|
||
|
};
|
||
|
|
||
|
fragment main0_out main0(const device SSBO& _13 [[buffer(0)]])
|
||
|
{
|
||
|
main0_out out = {};
|
||
|
out.FragColor = _13.v + _13.v;
|
||
|
return out;
|
||
|
}
|
||
|
|