2017-11-16 03:44:42 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
#include <simd/simd.h>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
|
|
|
|
struct D
|
|
|
|
{
|
|
|
|
float4 a;
|
|
|
|
float b;
|
|
|
|
};
|
|
|
|
|
2018-09-10 08:04:17 +00:00
|
|
|
constant float4 _14[4] = { float4(0.0), float4(0.0), float4(0.0), float4(0.0) };
|
2018-02-08 12:06:29 +00:00
|
|
|
|
2017-11-16 03:44:42 +00:00
|
|
|
struct main0_out
|
|
|
|
{
|
|
|
|
float FragColor [[color(0)]];
|
|
|
|
};
|
|
|
|
|
|
|
|
fragment main0_out main0()
|
|
|
|
{
|
|
|
|
main0_out out = {};
|
|
|
|
float a = 0.0;
|
|
|
|
float4 b = float4(0.0);
|
|
|
|
float2x3 c = float2x3(float3(0.0), float3(0.0));
|
2018-09-10 08:04:17 +00:00
|
|
|
D d = D{ float4(0.0), 0.0 };
|
2017-11-16 03:44:42 +00:00
|
|
|
out.FragColor = a;
|
|
|
|
return out;
|
|
|
|
}
|
|
|
|
|