Harbor

branch main
showing the latest snapshot on main
ref_cs.hlsl 152 B · Plain text
gpu/shader/tools/ref_cs.hlsl 0644 Raw
RWBuffer<float> output_buf : register(u0);

[numthreads(64, 1, 1)]
void main(uint3 tid : SV_DispatchThreadID) {
    output_buf[tid.x] = float(tid.x);
}