Sign in
skia
/
skia
/
4266739dd44eba46a2b1805284e5a49a9a0e64af
/
.
/
resources
/
sksl
/
errors
/
TernaryMismatch.rts
blob: ccc5a38deed93aa29c4d0293be1aa2d4b68b057c [
file
] [
log
] [
blame
]
void
bool_or_float
()
{
float
x
=
5
>
2
?
true
:
1.0
;
}
void
float3_or_float
()
{
float
x
=
5
>
2
?
float3
(
1
)
:
1.0
;
}
/*%%*
ternary operator result mismatch: 'bool', 'float'
ternary operator result mismatch: 'float3', 'float'
*%%*/