blob: f9c0a6e0b4ac40166c4e5d5d55dee7c328264b5c [file] [log] [blame]
John Kessenich4e559882016-09-27 23:09:32 -06001static float1 f1 = float1(1.0);
2static float scalar = 2.0;
John Kessenich8d72f1a2016-05-20 12:06:03 -06003
John Kessenichc3387d32016-06-17 14:21:02 -06004float1 ShaderFunction(float1 inFloat1 : COLOR, float inScalar) : COLOR0
John Kessenich8d72f1a2016-05-20 12:06:03 -06005{
6 return f1 * scalar + inFloat1 * inScalar;
7}