mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 12:00:05 +00:00
12 lines
238 B
GLSL
12 lines
238 B
GLSL
|
AppendStructuredBuffer<float4> sbuf_a;
|
||
|
ConsumeStructuredBuffer<float4> sbuf_c;
|
||
|
|
||
|
AppendStructuredBuffer<float4> sbuf_unused;
|
||
|
|
||
|
float4 main(uint pos : FOO) : SV_Target0
|
||
|
{
|
||
|
sbuf_a.Append(float4(1,2,3,4));
|
||
|
|
||
|
return sbuf_c.Consume();
|
||
|
}
|