a65441b3c4
These need to change because type coercion in SkSL is about to become more strict in a followup CL; we are disallowing expressions that mix ints and floats without a cast. Change-Id: I0f6c3cba53fb67078f447345338262c153236c51 Bug: skia:11164 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/353102 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
8 lines
139 B
Plaintext
8 lines
139 B
Plaintext
void main() {
|
|
int r, g;
|
|
(true ? r : g) = 1;
|
|
(false ? r : g) = 0;
|
|
sk_FragColor.x = half(r);
|
|
sk_FragColor.y = half(g);
|
|
}
|