Antonio Maiorano | 08d9279 | 2024-01-11 20:51:50 +0000 | [diff] [blame] | 1 | void deref() { |
2 | int3 a = int3(0, 0, 0); | ||||
3 | a.x = (a.x + 42); | ||||
4 | } | ||||
5 | |||||
6 | void no_deref() { | ||||
7 | int3 a = int3(0, 0, 0); | ||||
8 | a.x = (a.x + 42); | ||||
9 | } | ||||
10 | |||||
11 | [numthreads(1, 1, 1)] | ||||
12 | void main() { | ||||
13 | deref(); | ||||
14 | no_deref(); | ||||
15 | return; | ||||
16 | } |