RWStructuredBuffer <float> myOutput;. [numthreads(256,1,1)] void SimpleCS( uint3 DTid : SV_DispatchThreadID ). {. myOutput[DTid.x] = sqrt( myInput[DTid.x] );. } ...
確定! 回上一頁