6742d13cbe
Checking each variation can occasionally shake out extra bugs--for instance, the mix intrinsic in SPIR-V breaks when adding coverage for its various overloads here. (See skia:11222; this will be addressed in a separate CL.) Change-Id: I2c3ca7523e59d4c6cce25a70e081a558afedfb87 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/359758 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
13 lines
187 B
GLSL
13 lines
187 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
in float a;
|
|
in float b;
|
|
in float c;
|
|
in int d;
|
|
in int e;
|
|
in int f;
|
|
void main() {
|
|
sk_FragColor.x = clamp(a, b, c);
|
|
sk_FragColor.x = float(clamp(d, e, f));
|
|
}
|