2021-05-18 10:28:48 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2021-06-17 09:10:04 +00:00
|
|
|
void main_1() {
|
2022-06-01 10:08:29 +00:00
|
|
|
float3x3 m = float3x3(float3(0.0f), float3(0.0f), float3(0.0f));
|
2021-05-18 10:28:48 +00:00
|
|
|
m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
|
2022-06-01 10:08:29 +00:00
|
|
|
m[1] = float3(5.0f);
|
2021-05-18 10:28:48 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2021-06-17 09:10:04 +00:00
|
|
|
kernel void tint_symbol() {
|
|
|
|
main_1();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|