21 lines
368 B
GLSL
21 lines
368 B
GLSL
#pragma clang diagnostic ignored "-Wmissing-braces"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
|
|
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using namespace metal;
|
|
|
|
struct main0_out
|
|
{
|
|
float4 FragColor [[color(0)]];
|
|
};
|
|
|
|
[[ early_fragment_tests ]] fragment main0_out main0()
|
|
{
|
|
main0_out out = {};
|
|
out.FragColor = float4(1.0);
|
|
return out;
|
|
}
|
|
|