0c9d888748
Previously, these tests were never actually executed, only read during code review. They are now properly tested for correctness whenever dm is run. Non-ES2 compliant statements (do/while/switch) are unfortunately excluded here, as they are not compatible with Runtime Effects yet. Change-Id: I965c782baad6f8dd3961a400ae791fb2c1f844d3 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/389296 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
80 lines
983 B
GLSL
80 lines
983 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
uniform vec4 colorGreen;
|
|
vec4 main() {
|
|
int y = 0;
|
|
int _0_x = y;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
++_0_x;
|
|
y = _0_x;
|
|
int _1_x = y;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
++_1_x;
|
|
y = _1_x;
|
|
return colorGreen;
|
|
}
|