2017-11-22 11:08:06 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
#include <simd/simd.h>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
|
2017-12-04 23:17:06 +00:00
|
|
|
constant float4 _38 = {};
|
|
|
|
constant float4 _50 = {};
|
2017-11-22 11:08:06 +00:00
|
|
|
|
|
|
|
struct main0_out
|
|
|
|
{
|
|
|
|
float4 _entryPointOutput [[color(0)]];
|
|
|
|
};
|
|
|
|
|
|
|
|
fragment main0_out main0()
|
|
|
|
{
|
|
|
|
main0_out out = {};
|
|
|
|
float4 _51;
|
2017-11-22 12:20:17 +00:00
|
|
|
float4 _52;
|
2017-11-22 11:08:06 +00:00
|
|
|
_51 = _50;
|
|
|
|
for (;;)
|
|
|
|
{
|
|
|
|
if (0.0 != 0.0)
|
|
|
|
{
|
|
|
|
_52 = float4(1.0, 0.0, 0.0, 1.0);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
_52 = float4(1.0, 1.0, 0.0, 1.0);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
_52 = _38;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
out._entryPointOutput = _52;
|
|
|
|
return out;
|
|
|
|
}
|
|
|
|
|