blob: 0fefc7f1fbc737d366fc1c855c6232924ac89f7c [file] [log] [blame]
RWByteAddressBuffer s : register(u0);
static int a = 1;
static int _a = 2;
[numthreads(1, 1, 1)]
void f() {
int b = a;
int _b = _a;
s.Store(0u, asuint((b + _b)));
}