Sign in
fuchsia
/
third_party
/
glslang
/
98f164ec488f85af5a44b701477a34e810f2deb1
/
.
/
Test
/
hlsl.discard.frag
blob: e8b52679457fe229e0a8fae0cc4effa5eba9fe62 [
file
] [
log
] [
blame
]
void
foo
(
float
f
)
{
if
(
f
<
1.0
)
discard
;
}
float4
PixelShaderFunction
(
float4 input
)
:
COLOR0
{
foo
(
input
.
z
);
if
(
input
.
x
)
discard
;
float
f
=
input
.
x
;
discard
;
}