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>
12 lines
171 B
Plaintext
12 lines
171 B
Plaintext
void main() {
|
|
float x;
|
|
float y;
|
|
float z;
|
|
x = y = z = 1;
|
|
sk_FragColor.x = half(z);
|
|
|
|
int a, b, c;
|
|
a = b = c = 2;
|
|
sk_FragColor.y = half(b);
|
|
}
|