blob: b9ff0dcebe02c2cd677d7a971645cc27a938b822 [file] [log] [blame]
Antonio Maiorano08d92792024-01-11 20:51:50 +00001void deref() {
2 int3 a = int3(0, 0, 0);
3 int b = a.x;
4 a.x = 42;
5}
6
7void no_deref() {
8 int3 a = int3(0, 0, 0);
9 int b = a.x;
10 a.x = 42;
11}
12
13[numthreads(1, 1, 1)]
14void main() {
15 deref();
16 no_deref();
17 return;
18}