blob: 7577f65fe2c26fc85f6477cb3eb79c115ec3d6f8 [file] [log] [blame]
void deref() {
int3 a = (int(0)).xxx;
a[int(0)] = (a.x + int(42));
}
void no_deref() {
int3 a = (int(0)).xxx;
a[int(0)] = (a.x + int(42));
}
void deref_inc() {
int3 a = (int(0)).xxx;
a[int(0)] = (a.x + int(1));
}
void no_deref_inc() {
int3 a = (int(0)).xxx;
a[int(0)] = (a.x + int(1));
}
[numthreads(1, 1, 1)]
void main() {
deref();
no_deref();
deref_inc();
no_deref_inc();
}