blob: 60739336eaec4b2653202b65c9511b73c0b08487 [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();
}