2022-03-05 00:39:14 +00:00
|
|
|
#include <metal_stdlib>
|
2021-11-23 18:57:57 +00:00
|
|
|
|
2022-03-05 00:39:14 +00:00
|
|
|
using namespace metal;
|
2021-11-23 18:57:57 +00:00
|
|
|
|
2022-03-05 00:39:14 +00:00
|
|
|
float4 tint_degrees(float4 param_0) {
|
|
|
|
return param_0 * 57.295779513082322865;
|
|
|
|
}
|
2021-11-23 18:57:57 +00:00
|
|
|
|
2022-03-05 00:39:14 +00:00
|
|
|
float3 tint_degrees_1(float3 param_0) {
|
|
|
|
return param_0 * 57.295779513082322865;
|
|
|
|
}
|
2021-11-23 18:57:57 +00:00
|
|
|
|
2022-03-05 00:39:14 +00:00
|
|
|
float2 tint_degrees_2(float2 param_0) {
|
|
|
|
return param_0 * 57.295779513082322865;
|
|
|
|
}
|
2021-11-23 18:57:57 +00:00
|
|
|
|
2022-03-05 00:39:14 +00:00
|
|
|
float tint_degrees_3(float param_0) {
|
|
|
|
return param_0 * 57.295779513082322865;
|
|
|
|
}
|
2021-07-15 20:34:21 +00:00
|
|
|
|
|
|
|
kernel void tint_symbol() {
|
2022-03-05 00:39:14 +00:00
|
|
|
tint_degrees(float4());
|
|
|
|
tint_degrees(float4(1.0f));
|
|
|
|
tint_degrees(float4(1.0f, 2.0f, 3.0f, 4.0f));
|
|
|
|
tint_degrees_1(float3());
|
|
|
|
tint_degrees_1(float3(1.0f));
|
|
|
|
tint_degrees_1(float3(1.0f, 2.0f, 3.0f));
|
|
|
|
tint_degrees_2(float2());
|
|
|
|
tint_degrees_2(float2(1.0f));
|
|
|
|
tint_degrees_2(float2(1.0f, 2.0f));
|
|
|
|
tint_degrees_3(1.0f);
|
|
|
|
tint_degrees_3(2.0f);
|
|
|
|
tint_degrees_3(3.0f);
|
2021-07-15 20:34:21 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|