fa9a08369e
If we aren't wrapping the inlined function body in a loop, there's no need to add a scopeless Block; we've already got one. This doesn't affect the final output meaningfully--it just suppresses a newline--but it's one fewer IRNode allocation. Change-Id: Ib7b0014e908586d8acfcf6c23520873fad31d0b7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/345163 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
9 lines
122 B
GLSL
9 lines
122 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
void main() {
|
|
sk_FragColor.xz.xy = sk_FragColor.zx;
|
|
|
|
sk_FragColor.yw = vec2(3.0, 5.0);
|
|
|
|
}
|