// Copyright Contributors to the Open Shading Language project.
// SPDX-License-Identifier: BSD-3-Clause
// https://github.com/AcademySoftwareFoundation/OpenShadingLanguage

shader exit_in_varying_then_skips_else(output color c = 0.0)
{
    if (P[0] > 0.5) {
        exit();
    } else {
        c = color(P[0],P[1],P[2]);
    }
}
