blob: b56140a459b588c0396a6e068f3beb4eddd36991 [file] [log] [blame]
RWByteAddressBuffer buffer : register(u0);
void deref() {
buffer.Store4(0u, asuint(asint(buffer.Load4(0u)).wzyx));
}
void no_deref() {
buffer.Store4(0u, asuint(asint(buffer.Load4(0u)).wzyx));
}
[numthreads(1, 1, 1)]
void main() {
deref();
no_deref();
return;
}