blob: 65ab8601f05c3e169c5b524c1ec78f9846738bfe [file] [log] [blame]
Antonio Maiorano08d92792024-01-11 20:51:50 +00001#include <metal_stdlib>
2
3using namespace metal;
4void deref() {
5 float2x3 a = float2x3(0.0f);
6 float3 b = a[0];
7 a[0] = float3(1.0f, 2.0f, 3.0f);
8}
9
10void no_deref() {
11 float2x3 a = float2x3(0.0f);
12 float3 b = a[0];
13 a[0] = float3(1.0f, 2.0f, 3.0f);
14}
15
16kernel void tint_symbol() {
17 deref();
18 no_deref();
19 return;
20}
21