Sign in
skia
/
skia
/
3c1917983bdb516599ec8e24634b0d03d9eb36f5
/
.
/
tests
/
sksl
/
errors
/
AssignmentTypeMismatch.sksl
blob: ea40b39bbd87d8af534c6ad9ac413ad17420be02 [
file
] [
log
] [
blame
]
void
vardecl_assign_float_to_int
()
{
int
x
=
1.0
;
}
void
statement_assign_float_to_int
()
{
int
x
;
x
=
1.0
;
}
void
times_equals_int3_by_float
()
{
int3 x
=
int3
(
0
);
x
*=
1.0
;
}