Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
hlsl.clipdistance-3.frag
blob: e2b6b8627e7f1e7fee806ea1fba5278be1e15d00 [
file
] [
log
] [
blame
] [
edit
]
float4 main
(
in
float4 pos
:
SV_Position
,
in
float
clip
[
2
]
:
SV_ClipDistance
,
// array of scalar float
in
float
cull
[
2
]
:
SV_CullDistance
)
:
SV_Target0
// array of scalar float
{
return
pos
+
clip
[
0
]
+
cull
[
0
];
}