Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
b2b3d81e9bb0603f8b59e470aec3b3b513c10378
/
.
/
Test
/
hlsl.clipdistance-2.frag
blob: b6f88d567a93e8ed72f63083a445ab2d0dac5ea5 [
file
] [
log
] [
blame
]
float4 main
(
in
float4 pos
:
SV_Position
,
in
float2 clip
[
2
]
:
SV_ClipDistance
,
// array of vector float
in
float2 cull
[
2
]
:
SV_CullDistance
)
:
SV_Target0
// array of vector float
{
return
pos
+
clip
[
0
][
0
]
+
cull
[
0
][
0
];
}