1AppendStructuredBuffer<uint> Buf1 : register(u1);
2AppendStructuredBuffer<uint> Buf2 : register(u2);
3AppendStructuredBuffer<uint> Buf3 : register(u1);
4
5float4 main() : SV_Target
6{
7 Buf1.Append(10u);
8 Buf2.Append(20u);
9 return float4(1.0, 3.0, 5.0, 1.0);
10}