Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
50dce096d986e9167c6623f86ced57304fdfeb0f
/
.
/
Test
/
hlsl.clipdistance-5.frag
blob: 472299948d2ba8a346cd68e1c9d904c8615f09ae [
file
] [
log
] [
blame
]
struct
VS_OUTPUT
{
float4
Position
:
SV_Position
;
float2
ClipRect
[
2
]
:
SV_ClipDistance0
;
// array of float2 in split struct
};
float4 main
(
const
VS_OUTPUT v
)
:
SV_Target0
{
return
v
.
Position
+
v
.
ClipRect
[
0
].
x
+
v
.
ClipRect
[
1
].
x
;
}