b42b926513
`increment` and `float a` could be eliminated, but are not. This is fixed in a followup CL. Change-Id: I7a5c3ab7341f40020f84f157b08a7152bc067af0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/450276 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
18 lines
365 B
GLSL
18 lines
365 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
void increment_vfff(inout float a, inout float b, inout float c) {
|
|
((a++ , b++) , c++);
|
|
}
|
|
vec4 main() {
|
|
float a = 1.0;
|
|
float b = 2.0;
|
|
float c = 3.0;
|
|
for (int x = 0;x < 1; ++x) {
|
|
break;
|
|
}
|
|
float d = c;
|
|
b++;
|
|
d++;
|
|
return vec4(float(b == 2.0), float(b == 3.0), float(d == 5.0), float(d == 4.0));
|
|
}
|