ByteAddressBuffer data : register(t1, space0); int foo() { return asint(data.Load((4u * uint(0)))); } [numthreads(16, 16, 1)] void main() { foo(); return; }