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

shader return_in_uniform_else(output float c = 0.0)
{
    c = 1.0;
    // uniform conditional
    if (raytype("camera")) {
        c = 0.0;
    } else {
        return;
    }
    
    c= 0.5;
    
}
