2021-07-18 15:41:25 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
struct tint_symbol {
|
|
|
|
float4 value [[color(0)]];
|
|
|
|
};
|
|
|
|
|
2021-08-04 22:15:28 +00:00
|
|
|
float4 frag_main_inner() {
|
2021-07-18 15:41:25 +00:00
|
|
|
float b = 0.0f;
|
|
|
|
float3 v = float3(b);
|
2021-08-04 22:15:28 +00:00
|
|
|
return float4(v, 1.0f);
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment tint_symbol frag_main() {
|
|
|
|
float4 const inner_result = frag_main_inner();
|
|
|
|
tint_symbol wrapper_result = {};
|
|
|
|
wrapper_result.value = inner_result;
|
|
|
|
return wrapper_result;
|
2021-07-18 15:41:25 +00:00
|
|
|
}
|
|
|
|
|