Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
hlsl.structbuffer.append.frag
blob: 4c4bc3fc56d2e0d760a2c9bb7f857503fe37c401 [
file
] [
log
] [
blame
] [
edit
]
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
();
}