skia2/tests/sksl/inliner/golden/InlinerAvoidsVariableNameOverlap.glsl

20 lines
335 B
Plaintext
Raw Normal View History

in vec2 x;
vec4 main() {
vec2 _2_InlineA;
{
vec2 _3_reusedName = x + vec2(1.0, 2.0);
vec2 _4_0_InlineB;
{
vec2 _5_1_reusedName = _3_reusedName + vec2(3.0, 4.0);
_4_0_InlineB = _5_1_reusedName;
}
_2_InlineA = _4_0_InlineB;
}
return _2_InlineA.xyxy;
}