2022-03-31 22:30:10 +00:00
|
|
|
#include <metal_stdlib>
|
2022-03-31 22:30:10 +00:00
|
|
|
|
2022-03-31 22:30:10 +00:00
|
|
|
using namespace metal;
|
|
|
|
void foo() {
|
|
|
|
int a = 0;
|
|
|
|
float4 b = 0.0f;
|
|
|
|
float2x2 c = float2x2(0.0f);
|
|
|
|
a = (a / 2);
|
2022-06-01 10:08:29 +00:00
|
|
|
b = (b * float4x4(float4(0.0f), float4(0.0f), float4(0.0f), float4(0.0f)));
|
2022-03-31 22:30:10 +00:00
|
|
|
c = (c * 2.0f);
|
2022-03-31 22:30:10 +00:00
|
|
|
}
|
|
|
|
|