50b1b2b90d
This CL will be used to test for potential performance regressions (or improvements?) that we might incur by disabling this optimization pass. It will be reverted in ~1 day. Change-Id: I775cdb0c95df81fa25ebbd66e4ff01f64c660f68 Bug: skia:11319 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/378456 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
34 lines
787 B
GLSL
34 lines
787 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
vec4 helper();
|
|
void main() {
|
|
vec4 _0_helper;
|
|
for (int _1_loop = 0;_1_loop < 1; _1_loop++) {
|
|
int _2_temp = 1;
|
|
switch (_2_temp) {
|
|
case 0:
|
|
{
|
|
_0_helper = vec4(0.0, 0.0, 0.0, 1.0);
|
|
continue;
|
|
}
|
|
case 1:
|
|
{
|
|
_0_helper = vec4(0.5, 0.5, 0.5, 1.0);
|
|
continue;
|
|
}
|
|
case 2:
|
|
{
|
|
_0_helper = vec4(1.0);
|
|
continue;
|
|
}
|
|
default:
|
|
{
|
|
_0_helper = vec4(1.0, 0.0, 0.0, 1.0);
|
|
continue;
|
|
}
|
|
}
|
|
}
|
|
sk_FragColor = _0_helper;
|
|
|
|
}
|