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