<!--
===========================================================================
Copyright 2015 Autodesk, Inc. All rights reserved.

Use of this software is subject to the terms of the Autodesk license
agreement provided at the time of installation or download, or which
otherwise accompanies this software in either electronic or hard copy form.
===========================================================================

Support fragment for boolean pass through
-->

<fragment  uiName="boolPassThrough" name="boolPassThrough" type="plumbing" class="ShadeFragment" version="1.0" feature_level="0" >
    <description><![CDATA[Pass through fragment for bool type.]]></description>
    <properties>
        <bool  name="input" />
    </properties>
    <values>
    </values>
    <outputs>
        <bool  name="boolPassThrough" />
    </outputs>
    <implementation  >
    <implementation  render="OGSRenderer" language="Cg" lang_version="2.1" >
        <function_name val="boolPassThrough" />
        <source>
            <![CDATA[
bool boolPassThrough(bool input)
{
	return input;
}
            ]]>
        </source>
    </implementation>
    <implementation  render="OGSRenderer" language="HLSL" lang_version="11.0" >
        <function_name val="boolPassThrough" />
        <source>
            <![CDATA[
bool boolPassThrough(bool input)
{
	return input;
}
            ]]>
        </source>
    </implementation>
    <implementation render="OGSRenderer" language="GLSL" lang_version="3.0">
        <function_name val="boolPassThrough" />
        <source>
            <![CDATA[
bool boolPassThrough(bool input_is_glsl_kw)
{
	return input_is_glsl_kw;
}
            ]]>
        </source>
    </implementation>
    </implementation>
</fragment>

#