<!--
===========================================================================
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 float pass through
-->

<fragment  uiName="floatPassThrough" name="floatPassThrough" type="plumbing" class="ShadeFragment" version="1.0" feature_level="0" >
    <description><![CDATA[Pass through fragment for float type.]]></description>
    <properties>
        <float  name="input" />
    </properties>
    <values>
    </values>
    <outputs>
        <float  name="floatPassThrough" />
    </outputs>
    <implementation  >
    <implementation  render="OGSRenderer" language="Cg" lang_version="2.1" >
        <function_name val="floatPassThrough" />
        <source>
            <![CDATA[
float floatPassThrough(float input)
{
	return input;
}
            ]]>
        </source>
    </implementation>
    <implementation  render="OGSRenderer" language="HLSL" lang_version="11.0" >
        <function_name val="floatPassThrough" />
        <source>
            <![CDATA[
float floatPassThrough(float input)
{
	return input;
}
            ]]>
        </source>
    </implementation>
    <implementation render="OGSRenderer" language="GLSL" lang_version="3.0">
        <function_name val="floatPassThrough" />
        <source>
            <![CDATA[
float floatPassThrough(float input_is_glsl_kw)
{
	return input_is_glsl_kw;
}
            ]]>
        </source>
    </implementation>
    </implementation>
</fragment>

#