Sign in
skia
/
skia
/
refs/tags/canvaskit/0.24.0
/
.
/
resources
/
sksl
/
errors
/
InlineDivideByZero.sksl
blob: c2cde1809716ad595932a4c8b9e26279702060d3 [
file
] [
log
] [
blame
]
uniform
float
unknownInput
;
int
getZero
()
{
return
0
;
}
void
main
()
{
int
inlineTest
=
0
/
getZero
();
inlineTest
=
(
int4
(
0
)
/
getZero
()).
x
;
inlineTest
=
int
(
unknownInput
.
x
)
/
getZero
();
}