21d7778cb5
There is no need to inline code during IR generation, as the optimizer can now handle this. Change-Id: If272bfb98e945a75ec91fb4aa026e5631ac51b5b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/315971 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
13 lines
199 B
GLSL
13 lines
199 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
void main() {
|
|
float _0_parameterWrite;
|
|
float _1_x = 1.0;
|
|
{
|
|
_1_x *= 2.0;
|
|
_0_parameterWrite = _1_x;
|
|
}
|
|
sk_FragColor.x = _0_parameterWrite;
|
|
|
|
}
|