mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-10 15:03:34 +00:00
9 lines
236 B
HLSL
9 lines
236 B
HLSL
StructuredBuffer<uint> read_ssbo : register(t0);
|
|
RWStructuredBuffer<uint> write_ssbo : register(u0);
|
|
|
|
[numthreads(16, 16, 1)]
|
|
void main(uint3 grid : SV_DispatchThreadID)
|
|
{
|
|
write_ssbo[grid.x * grid.y] = read_ssbo[grid.x * grid.y];
|
|
}
|