74192fde0d
This CL also adds tests for vector*scalar and scalar*vector folding. We currently do not constant-fold these, but support will be added in a followup CL. Change-Id: I68d7374ae15ab2f4d805a095803b645c92fb03d9 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/352237 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
19 lines
413 B
GLSL
19 lines
413 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
void main() {
|
|
sk_FragColor.x = 1.0;
|
|
sk_FragColor.x = -2.0;
|
|
sk_FragColor.x = 3.0;
|
|
sk_FragColor.x = -4.0;
|
|
sk_FragColor.x = 5.0;
|
|
sk_FragColor.x = -6.0;
|
|
sk_FragColor.x = 7.0;
|
|
sk_FragColor.x = -8.0;
|
|
sk_FragColor.x = 9.0;
|
|
sk_FragColor.x = 10.0;
|
|
sk_FragColor.x = 11.0;
|
|
sk_FragColor.x = 12.0;
|
|
sk_FragColor.x = 13.0;
|
|
sk_FragColor.x = 14.0;
|
|
}
|