Texture3D IN: register(t0); RWTexture3D OUT: register(u1); [numthreads(8,8,8)] void main(uint3 tid: SV_DispatchThreadID) { OUT[tid] = IN[tid]; }