Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
hlsl.texturebuffer.frag
blob: d06974656c7709cddf9868041dfd252424f3c2ab [
file
] [
log
] [
blame
] [
edit
]
struct
Data
{
float4 f
;
int4 i
;
};
TextureBuffer
<
Data
>
TextureBuffer_var
:
register
(
t0
);
tbuffer tbuf2
{
float4 f2
;
int4 i2
;
};
float4 main
(
float4 pos
:
SV_POSITION
)
:
SV_TARGET
{
return
TextureBuffer_var
.
f
+
f2
;
}