1RWByteAddressBuffer buffer; 2 3[numthreads(64, 1, 1)] 4void main( uint3 dispatchThreadID : SV_DispatchThreadID) 5{ 6 if(dispatchThreadID.x == 0) 7 buffer.Store(0, 2); 8}
1RWByteAddressBuffer buffer; 2 3[numthreads(64, 1, 1)] 4void main( uint3 dispatchThreadID : SV_DispatchThreadID) 5{ 6 if(dispatchThreadID.x == 0) 7 buffer.Store(0, 2); 8}