Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
b41bff69d20422b01ea88da4505ce47a842e10c1
/
.
/
Test
/
hlsl.discard.frag
blob: 7d9271c9cf3bd7cb4588e2726000919b72c7ca60 [
file
] [
log
] [
blame
]
void
foo
(
float
f
)
{
if
(
f
<
1.0
)
discard
;
}
void
PixelShaderFunction
(
float4 input
)
:
COLOR0
{
foo
(
input
.
z
);
if
(
input
.
x
)
discard
;
float
f
=
input
.
x
;
discard
;
}