bgfx/3rdparty/glslang/Test/spv.ssboAlias.frag
Branimir Karadžić 7fc0b67b34 Updated glslang.
2017-06-03 11:11:11 -07:00

10 lines
254 B
JavaScript

AppendStructuredBuffer<uint> Buf1 : register(u1);
AppendStructuredBuffer<uint> Buf2 : register(u2);
AppendStructuredBuffer<uint> Buf3 : register(u1);
float4 main() : SV_Target
{
Buf1.Append(10u);
Buf2.Append(20u);
return float4(1.0, 3.0, 5.0, 1.0);
}