Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma kernel CSMain
- RWStructuredBuffer<int> Input;
- RWStructuredBuffer<int> Output;
- #define CHANGE_ME_JUST_FOR_RECOMPILE 1
- [numthreads(1,1,1)]
- void CSMain (uint3 id : SV_DispatchThreadID)
- {
- Output[id.x] = Input[id.x];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement